org.oXML.xpath
Class Context
java.lang.Object
org.oXML.xpath.Context
- All Implemented Interfaces:
- XPathContext
- Direct Known Subclasses:
- RuntimeContext
- public abstract class Context
- extends java.lang.Object
- implements XPathContext
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Context
protected Context(Context other)
Context
public Context(TypeResolver resolver,
Node contextNode)
getFunction
public Function getFunction(Name name,
Node[] args)
throws ObjectBoxException
- Specified by:
getFunction in interface XPathContext
- Throws:
ObjectBoxException
getFunction
public Function getFunction(Name name,
Type[] params)
throws ObjectBoxException
- Throws:
ObjectBoxException
getVariable
public abstract Node getVariable(Name name)
throws XPathException
- Specified by:
getVariable in interface XPathContext
- Throws:
XPathException
setVariable
public abstract void setVariable(Name name,
Node value)
- Specified by:
setVariable in interface XPathContext
getContextNode
public Node getContextNode()
- Specified by:
getContextNode in interface XPathContext
toString
public java.lang.String toString()
setContextNode
public void setContextNode(Node contextNode)
- Specified by:
setContextNode in interface XPathContext
getContextPosition
public int getContextPosition()
- Specified by:
getContextPosition in interface XPathContext
setContextPosition
public void setContextPosition(int position)
- Specified by:
setContextPosition in interface XPathContext
getContextSize
public int getContextSize()
- Specified by:
getContextSize in interface XPathContext
setContextSize
public void setContextSize(int size)
- Specified by:
setContextSize in interface XPathContext
copy
public abstract XPathContext copy()
- Specified by:
copy in interface XPathContext