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,
java.util.Map variables,
IAnnotationManager annotationManager)
Context
public Context(java.lang.Object contextNode,
XPathVariableResolver variableResolver,
IAnnotationManager annotationManager)
Context
public Context(java.lang.Object contextNode,
IAnnotationManager annotationManager)
getContextPosition
public int getContextPosition()
getContextSize
public int getContextSize()
getContextNode
public java.lang.Object getContextNode()
newSubContext
public Context newSubContext(java.lang.Object contextNode2,
int contextPosition2,
int contextSize2)
getContextNodeInspector
public INodeInspector getContextNodeInspector()
getVariableResolver
public XPathVariableResolver getVariableResolver()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hasAnnotationManager
public boolean hasAnnotationManager()
- Test whether the context has an annotation manager
- Returns:
true
if there is an annotation manager.
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()