public class HereFunctionContextSupport
extends org.jaxen.ContextSupport
here() function to the org.jaxen.ConextSupport class. Support is currently limited to JAXP 1.1 compliant DOM2 implementations.| Constructor and Description |
|---|
HereFunctionContextSupport()
Creates a new
HereFunctionContextSupport instance. |
HereFunctionContextSupport(org.jaxen.NamespaceContext namespaceContext, org.jaxen.FunctionContext functionContext, org.jaxen.VariableContext variableContext, org.jaxen.Navigator navigator)
Creates a new
HereFunctionContextSupport instance. |
HereFunctionContextSupport(org.jaxen.NamespaceContext namespaceContext, org.jaxen.FunctionContext functionContext, org.jaxen.VariableContext variableContext, org.jaxen.Navigator navigator, java.lang.Object xpathNode)
Creates a new
HereFunctionContextSupport instance. |
HereFunctionContextSupport(java.lang.Object xpathNode)
Creates a new
HereFunctionContextSupport instance. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public HereFunctionContextSupport()
HereFunctionContextSupport instance.
public HereFunctionContextSupport(org.jaxen.NamespaceContext namespaceContext,
org.jaxen.FunctionContext functionContext,
org.jaxen.VariableContext variableContext,
org.jaxen.Navigator navigator)
HereFunctionContextSupport instance.namespaceContext - The namespace resolution context.functionContext - The XPath function registry/factory.variableContext - The XPath variable resolution context.navigator - The document implementation navigator.public HereFunctionContextSupport(java.lang.Object xpathNode)
HereFunctionContextSupport instance.xpathNode - The document node containing the XPath expression. Must be a Text, Attr or ProcessingInstruction node.
public HereFunctionContextSupport(org.jaxen.NamespaceContext namespaceContext,
org.jaxen.FunctionContext functionContext,
org.jaxen.VariableContext variableContext,
org.jaxen.Navigator navigator,
java.lang.Object xpathNode)
HereFunctionContextSupport instance.namespaceContext - The namespace resolution context.functionContext - The XPath function registry/factory.variableContext - The XPath variable resolution context.navigator - The document implementation navigator.xpathNode - The document node containing the XPath expression. Must be a Text, Attr or ProcessingInstruction node.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.