org.xmlpull.v1.builder.xpath.jaxen
Class ContextSupport
java.lang.Object
org.xmlpull.v1.builder.xpath.jaxen.ContextSupport
- All Implemented Interfaces:
- java.io.Serializable
public class ContextSupport
- extends java.lang.Object
- implements java.io.Serializable
Supporting context information for resolving
namespace prefixess, functions, and variables.
NOTE: This class is not typically used directly,
but is exposed for writers of implementation-specific
XPath packages.
- See Also:
XPath for dom4j,
XPath for JDOM,
XPath for W3C DOM,
XPath for Electric XML,
Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextSupport
public ContextSupport()
- Construct an empty
ContextSupport.
ContextSupport
public ContextSupport(NamespaceContext namespaceContext,
FunctionContext functionContext,
VariableContext variableContext,
Navigator navigator)
- Construct.
- Parameters:
namespaceContext - The NamespaceContext.functionContext - The FunctionContext.variableContext - The VariableContext.
setNamespaceContext
public void setNamespaceContext(NamespaceContext namespaceContext)
setFunctionContext
public void setFunctionContext(FunctionContext functionContext)
setVariableContext
public void setVariableContext(VariableContext variableContext)
getNamespaceContext
public NamespaceContext getNamespaceContext()
getFunctionContext
public FunctionContext getFunctionContext()
getVariableContext
public VariableContext getVariableContext()
getNavigator
public Navigator getNavigator()
translateNamespacePrefixToUri
public java.lang.String translateNamespacePrefixToUri(java.lang.String prefix)
getVariableValue
public java.lang.Object getVariableValue(java.lang.String namespaceURI,
java.lang.String prefix,
java.lang.String localName)
throws UnresolvableException
- Throws:
UnresolvableException
getFunction
public Function getFunction(java.lang.String namespaceURI,
java.lang.String prefix,
java.lang.String localName)
throws UnresolvableException
- Throws:
UnresolvableException