com.ricebridge.xmlman.in
Class PartContext

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

public class PartContext
extends Object

Describes parse state of path part.


Constructor Summary
PartContext(int pPartPosition)
          Store part position.
 
Method Summary
 PartContext duplicate()
          Create a copy of current part state.
 com.ricebridge.xmlman.tp.Context getContext()
          get the Jaxen Context for this part.
 int getMatchDepth()
          Get the depth at which this part matched.
 int getPartPosition()
          Get the position of this part in the TargetPath.
 int getPosition()
          Get the element position at which this part matched.
 int getStartDepth()
          get the depth at which this part started searching for a match.
 void setContext(com.ricebridge.xmlman.tp.Context pContext)
          Set the Jaxen Context for this part.
 void setMatchDepth(int pMatchDepth)
          Set the depth at which this part matched.
 void setPosition(int pPosition)
          Set the element position at which this part matched.
 void setStartDepth(int pStartDepth)
          Set the depth at which this part started searching for a match.
 String toString()
          Debugging description.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PartContext

public PartContext(int pPartPosition)
Store part position.

Method Detail

duplicate

public PartContext duplicate()
Create a copy of current part state.


setMatchDepth

public void setMatchDepth(int pMatchDepth)
Set the depth at which this part matched.


setStartDepth

public void setStartDepth(int pStartDepth)
Set the depth at which this part started searching for a match.


setPosition

public void setPosition(int pPosition)
Set the element position at which this part matched.


getPartPosition

public int getPartPosition()
Get the position of this part in the TargetPath.


getMatchDepth

public int getMatchDepth()
Get the depth at which this part matched.


getStartDepth

public int getStartDepth()
get the depth at which this part started searching for a match.


getPosition

public int getPosition()
Get the element position at which this part matched.


setContext

public void setContext(com.ricebridge.xmlman.tp.Context pContext)
Set the Jaxen Context for this part.


getContext

public com.ricebridge.xmlman.tp.Context getContext()
get the Jaxen Context for this part.


toString

public String toString()
Debugging description.



Copyright © 2004-2005 Ricebridge