com.novell.xml.xpath.functions
Class xpathBoolean
java.lang.Object
com.novell.xml.xpath.Function
com.novell.xml.xpath.functions.xpathBoolean
- public class xpathBoolean
- extends Function
This class implements the XPath boolean(object?) built-in function
Constructor Summary |
xpathBoolean()
Construct an object for the boolean() function |
xpathBoolean
public xpathBoolean()
- Construct an object for the boolean() function
invoke
public ExpressionValue invoke(Object[] args)
throws XPathEvaluationException
- Perform boolean() function
- Overrides:
invoke
in class Function
- Parameters:
args
- List of arguments.
First first argument must be the context node.
The second argument must be the expression context object
The third argument may not exist, or it may be an expression value
- Returns:
- The boolean value of the argument -
the current context node (if no third parm) or the converted expression
value
- Throws:
XPathEvaluationException
toString
public String toString()
- Return function name.
- Returns:
- Function name.