org.eclipse.jet.xpath
Class Context
java.lang.Object
org.eclipse.jet.xpath.Context
-
public final class Context
- extends java.lang.Object
Define the XPath Context
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
|
Context
public Context(java.lang.Object contextNode,
IAnnotationManager annotationManager)
Context
public Context(java.lang.Object contextNode,
java.util.Map variables,
IAnnotationManager annotationManager)
Context
public Context(java.lang.Object contextNode,
XPathVariableResolver variableResolver,
IAnnotationManager annotationManager)
Context
public Context(java.lang.Object contextNode,
XPathVariableResolver variableResolver,
IAnnotationManager annotationManager,
XPathFunctionResolver functionResolver)
getAnnotationManager
public
IAnnotationManager getAnnotationManager()
- Return the context's annotation manager
-
-
Returns:
- the annotation manager
-
Throws:
-
java.lang.IllegalStateException
- if the context has not annotation manager -
See Also:
-
hasAnnotationManager()
getContextNode
public java.lang.Object getContextNode()
-
getContextNodeInspector
public
INodeInspector getContextNodeInspector()
-
getContextPosition
public int getContextPosition()
-
getContextSize
public int getContextSize()
-
getFunctionResolver
public
XPathFunctionResolver getFunctionResolver()
-
getVariableResolver
public
XPathVariableResolver getVariableResolver()
-
hasAnnotationManager
public boolean hasAnnotationManager()
- Test whether the context has an annotation manager
-
-
Returns:
-
true
if there is an annotation manager.
newSubContext
public
Context newSubContext(java.lang.Object contextNode2,
int contextPosition2,
int contextSize2)
-
toString
public java.lang.String toString()
-
-
Overrides:
-
toString
in class java.lang.Object
-