public class HereFunctionDOMXPath
extends org.jaxen.dom.DOMXPath
here() function to the jaxen XPath DOM implementation.| Constructor and Description |
|---|
HereFunctionDOMXPath(java.lang.String xpathExpr)
Creates a new
HereFunctionDOMXPath instance. |
| Modifier and Type | Method and Description |
|---|---|
protected org.jaxen.ContextSupport |
getContextSupport()
Retrieve the
ContextSupport aggregation of NamespaceContext, FunctionContext, VariableContext, and Navigator. |
java.lang.Object |
getXPathNode()
Returns the document node containing the XPath expression.
|
void |
setXPathNode(java.lang.Object xpathNode)
Sets the document node containing the XPath expression.
|
addNamespace, booleanValueOf, createFunctionContext, createNamespaceContext, createVariableContext, debug, evaluate, getContext, getFunctionContext, getNamespaceContext, getNavigator, getRootExpr, getVariableContext, numberValueOf, selectNodes, selectNodesForContext, selectSingleNode, selectSingleNodeForContext, setFunctionContext, setNamespaceContext, setVariableContext, stringValueOf, toString, valueOf
public HereFunctionDOMXPath(java.lang.String xpathExpr)
throws org.jaxen.JaxenException
HereFunctionDOMXPath instance.org.jaxen.JaxenExceptionprotected org.jaxen.ContextSupport getContextSupport()
ContextSupport aggregation of NamespaceContext, FunctionContext, VariableContext, and Navigator.getContextSupport in class org.jaxen.BaseXPathHereFunctionContextSupport instance.public void setXPathNode(java.lang.Object xpathNode)
xpathNode - The document node containing the XPath expression. Must be a Text, Attr or ProcessingInstruction node.public java.lang.Object getXPathNode()
null if none is set. The node will be a Text, Attribute or ProcessingInstruction node.