com.novell.xml.xpath.functions
Class xpathId
java.lang.Object
com.novell.xml.xpath.Function
com.novell.xml.xpath.functions.xpathId
- public class xpathId
- extends Function
This class implements the XPath id(object) built-in function
Constructor Summary |
xpathId()
Construct an object for the id() function |
xpathId
public xpathId()
- Construct an object for the id() function
invoke
public ExpressionValue invoke(Object[] args)
throws XPathEvaluationException
- Perform id() function
- Overrides:
invoke
in class Function
- Parameters:
args
- List of arguments.
Three arguments
First first argument must be the context node.
The second argument must be the expression context object
The third argument may be any expression value type
- Returns:
- A NodeSet value containing the nodes that have the
desired id that are in the same document as the context node
- Throws:
XPathEvaluationException
toString
public String toString()
- Return function name.
- Returns:
- Function name.