org.oXML.engine
Class RuntimeContext

java.lang.Object
  extended byorg.oXML.xpath.Context
      extended byorg.oXML.engine.RuntimeContext
All Implemented Interfaces:
XPathContext

public class RuntimeContext
extends Context


Field Summary
static Name NONAME
           
 
Constructor Summary
  RuntimeContext(Program program)
           
  RuntimeContext(Program program, Node ctxt)
           
protected RuntimeContext(RuntimeContext other)
           
 
Method Summary
 void addFunction(Function function)
           
 void addResultHandler(ResultHandler handler)
           
 XPathContext copy()
           
 void end()
          called at the end of processing
 Program getProgram()
           
 Node getVariable(Name name)
           
 void hide()
           
 void pop()
           
 Nodeset popOutputNodeset()
           
 StackFrame popStackFrame()
           
 void push(ElementNode value)
           
 void push(Node value)
           
 Nodeset pushOutputNodeset()
           
 Nodeset pushOutputNodeset(Nodeset output)
           
 void pushStackFrame(StackFrame frame)
           
 void setVariable(Name name, Node value)
           
 void setVariable(Variable var)
           
 void start(java.lang.String contenttype)
          called at the start of processing
 void unhide()
           
 
Methods inherited from class org.oXML.xpath.Context
getContextNode, getContextPosition, getContextSize, getFunction, getFunction, setContextNode, setContextPosition, setContextSize, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONAME

public static final Name NONAME
Constructor Detail

RuntimeContext

public RuntimeContext(Program program,
                      Node ctxt)

RuntimeContext

public RuntimeContext(Program program)

RuntimeContext

protected RuntimeContext(RuntimeContext other)
Method Detail

pushStackFrame

public void pushStackFrame(StackFrame frame)

popStackFrame

public StackFrame popStackFrame()

addResultHandler

public void addResultHandler(ResultHandler handler)

getProgram

public Program getProgram()

getVariable

public Node getVariable(Name name)
                 throws XPathException
Specified by:
getVariable in interface XPathContext
Specified by:
getVariable in class Context
Throws:
XPathException

setVariable

public void setVariable(Name name,
                        Node value)
Specified by:
setVariable in interface XPathContext
Specified by:
setVariable in class Context

setVariable

public void setVariable(Variable var)

hide

public void hide()

unhide

public void unhide()

addFunction

public void addFunction(Function function)
                 throws ObjectBoxException
Throws:
ObjectBoxException

start

public void start(java.lang.String contenttype)
           throws ObjectBoxException
called at the start of processing

Throws:
ObjectBoxException

end

public void end()
         throws ObjectBoxException
called at the end of processing

Throws:
ObjectBoxException

push

public void push(Node value)
          throws ObjectBoxException
Throws:
ObjectBoxException

push

public void push(ElementNode value)
          throws ObjectBoxException
Throws:
ObjectBoxException

pop

public void pop()
         throws ObjectBoxException
Throws:
ObjectBoxException

pushOutputNodeset

public Nodeset pushOutputNodeset()

pushOutputNodeset

public Nodeset pushOutputNodeset(Nodeset output)

popOutputNodeset

public Nodeset popOutputNodeset()
                         throws ObjectBoxException
Throws:
ObjectBoxException

copy

public XPathContext copy()
Specified by:
copy in interface XPathContext
Specified by:
copy in class Context