Oracle Security Developer Tools XML Security Java API Reference
10g Release 2 (10.1.2.0.2)

B15571-01


oracle.security.xmlsec.transform
Class HereFunctionContextSupport

java.lang.Object
  extended byorg.jaxen.ContextSupport
      extended byoracle.security.xmlsec.transform.HereFunctionContextSupport

All Implemented Interfaces:
java.io.Serializable

public class HereFunctionContextSupport
extends org.jaxen.ContextSupport

Internal use only. Adds support for the here() function to the org.jaxen.ConextSupport class. Support is currently limited to JAXP 1.1 compliant DOM2 implementations.

Since:
2.0
See Also:
Serialized Form

Constructor Summary
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.

Method Summary
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.

Methods inherited from class org.jaxen.ContextSupport
getFunction, getFunctionContext, getNamespaceContext, getNavigator, getVariableContext, getVariableValue, setFunctionContext, setNamespaceContext, setVariableContext, translateNamespacePrefixToUri

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

HereFunctionContextSupport

public HereFunctionContextSupport()
Creates a new HereFunctionContextSupport instance.

HereFunctionContextSupport

public HereFunctionContextSupport(org.jaxen.NamespaceContext namespaceContext,
                                  org.jaxen.FunctionContext functionContext,
                                  org.jaxen.VariableContext variableContext,
                                  org.jaxen.Navigator navigator)
Creates a new HereFunctionContextSupport instance.
Parameters:
namespaceContext - The namespace resolution context.
functionContext - The XPath function registry/factory.
variableContext - The XPath variable resolution context.
navigator - The document implementation navigator.

HereFunctionContextSupport

public HereFunctionContextSupport(java.lang.Object xpathNode)
Creates a new HereFunctionContextSupport instance.
Parameters:
xpathNode - The document node containing the XPath expression. Must be a Text, Attr or ProcessingInstruction node.

HereFunctionContextSupport

public 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.
Parameters:
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.

Method Detail

setXPathNode

public void setXPathNode(java.lang.Object xpathNode)
Sets the document node containing the XPath expression. Support is currently limited to JAXP 1.1 compliant DOM2 implementations.
Parameters:
xpathNode - The document node containing the XPath expression. Must be a Text, Attr or ProcessingInstruction node.

getXPathNode

public java.lang.Object getXPathNode()
Returns the document node containing the XPath expression. Support is currently limited to JAXP 1.1 compliant DOM2 implementations.
Returns:
The document node containing the XPath expression, or null if none is set. The node will be a Text, Attribute or ProcessingInstruction node.

Oracle Security Developer Tools XML Security Java API Reference
10g Release 2 (10.1.2.0.2)

B15571-01


Copyright © 2005 , Oracle. All rights reserved.