org.jaxen
Class Context
java.lang.Object
|
+--org.jaxen.Context
- All Implemented Interfaces:
- Serializable
- public class Context
- extends Object
- implements Serializable
Wrapper around implementation-specific objects used
as the context of an expression evaluation.
NOTE: This class is not typically used directly,
but is exposed for writers of implementation-specific
XPath packages.
The Context
bundles utilities together
for evaluation of the expression. It wraps the provided
objects for ease-of-passage through the expression AST.
- Author:
- bob mcwhirter
- See Also:
ContextSupport
,
BaseXPath
,
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 |
Context
public Context(ContextSupport contextSupport)
getNodeSet
public List getNodeSet()
setNodeSet
public void setNodeSet(List nodeSet)
getContextSupport
public ContextSupport getContextSupport()
setContextSupport
public void setContextSupport(ContextSupport contextSupport)
getNavigator
public Navigator getNavigator()
translateNamespacePrefixToUri
public String translateNamespacePrefixToUri(String prefix)
getVariableValue
public Object getVariableValue(String namespaceURI,
String prefix,
String localName)
throws UnresolvableException
getFunction
public Function getFunction(String namespaceURI,
String prefix,
String localName)
throws UnresolvableException
setSize
public void setSize(int size)
setPosition
public void setPosition(int position)
getSize
public int getSize()
getPosition
public int getPosition()
duplicate
public Context duplicate()
Copyright © 2002 bob mcwhirter & James Strachan. All Rights Reserved. Hosted by