com.ricebridge.xmlman.in
Class DocContext

java.lang.Object
  extended bycom.ricebridge.xmlman.in.DocContext

public class DocContext
extends Object

Store parse context of XML document.


Constructor Summary
DocContext(XmlSpec pXmlSpec)
          Specify XmlSpec.
 
Method Summary
 DocContext copy(XmlSpec pXmlSpec)
          Create a copy, with new XmlSpec.
 com.ricebridge.xmlman.tp.Context getContext()
          Get the current Jaxen Context.
 boolean getNamespaceAware()
          Indicate that current parse is namespace aware.
 TargetPathState getState(TargetPath pTargetPath)
          Get current state of TargetPath.
 TreeContext getTreeContext()
          Get the current TreeContext.
 String resolve(String pExprName)
          Resolve the value of an expression at this point in time.
 String resolve(String pExprName, com.ricebridge.xmlman.tp.Context pContext)
          Resolve an expression against the specified context.
 void setExpression(String pName, Expression pExpression)
          Store a named expression.
 String toString()
          Debugging description.
 String toString(boolean pShowExprValues)
          Debugging description, with expression values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocContext

public DocContext(XmlSpec pXmlSpec)
Specify XmlSpec.

Method Detail

copy

public DocContext copy(XmlSpec pXmlSpec)
Create a copy, with new XmlSpec.


getState

public TargetPathState getState(TargetPath pTargetPath)
Get current state of TargetPath.


getContext

public com.ricebridge.xmlman.tp.Context getContext()
Get the current Jaxen Context.


getTreeContext

public TreeContext getTreeContext()
Get the current TreeContext.


getNamespaceAware

public boolean getNamespaceAware()
Indicate that current parse is namespace aware.


resolve

public String resolve(String pExprName)
Resolve the value of an expression at this point in time.


resolve

public String resolve(String pExprName,
                      com.ricebridge.xmlman.tp.Context pContext)
Resolve an expression against the specified context.


setExpression

public void setExpression(String pName,
                          Expression pExpression)
Store a named expression.


toString

public String toString()
Debugging description.


toString

public String toString(boolean pShowExprValues)
Debugging description, with expression values.



Copyright © 2004-2005 Ricebridge