com.werken.xpath.function

Class ContainsFunction

Implemented Interfaces:
Function

public class ContainsFunction
extends java.lang.Object
implements Function

4.2 boolean contains(string,string)

Author:
bob mcwhirter (bob @ werken.com)

Method Summary

Object
call(Context context, List args)
Call the function object.
static Boolean
evaluate(Object strArg, Object matchArg)

Method Details

call

public Object call(Context context,
                   List args)
Call the function object.
Specified by:
call in interface Function

Parameters:
context - The current context the function operates upon
args - The argument list to the function.

Returns:
The result from calling the function.


evaluate

public static Boolean evaluate(Object strArg,
                               Object matchArg)


Copyright B) 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved.