com.novell.xml.xpath.functions
Class xpathContains
java.lang.Object
com.novell.xml.xpath.Function
com.novell.xml.xpath.functions.xpathContains
- public class xpathContains
- extends Function
This class implements the XPath contains(string,string) built-in function
Constructor Summary |
xpathContains()
Construct an object for the contains() function |
xpathContains
public xpathContains()
- Construct an object for the contains() function
invoke
public ExpressionValue invoke(Object[] args)
throws XPathEvaluationException
- Perform contains() function
- Overrides:
invoke
in class Function
- Parameters:
args
- List of arguments.
Two string arguments are required.
true is returned if the first argument contains the
second argument
- Returns:
- true or false
- Throws:
XPathEvaluationException
toString
public String toString()
- Return function name.
- Returns:
- Function name.