org.jaxen.function.ext
Class EndsWithFunction
java.lang.Object
org.jaxen.function.ext.EndsWithFunction
- Function
public class EndsWithFunction
extends java.lang.Object
boolean ends-with(string,string)
- mark wilson (markw @ wilsoncom.de)
call
public Object call(Context context,
List args)
throws FunctionCallException
Evaluate this function.
- call in interface Function
context
- the context at the point in the
expression when the function is calledargs
- arguments provided to the function
- the result of evaluating the function; a
List
(node-set), Double
, Boolean
, or
String
FunctionCallException
- if an XPath error occurs during evaluation;
for instance, if the number or type of the arguments is incorrect
evaluate
public static Boolean evaluate(Object strArg,
Object matchArg,
Navigator nav)