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