de.fzi.XPath
Class LocationPath

java.lang.Object
  |
  +--de.fzi.XPath.Expr
        |
        +--de.fzi.XPath.LocationPath

public class LocationPath
extends Expr

A Class class.

Author:
Aleksei Valikov

Fields inherited from class de.fzi.XPath.Expr
ADD_OP, AND_OP, DIV_OP, EQ_OP, GT_OP, GTE_OP, LT_OP, LTE_OP, MOD_OP, MUL_OP, NEQ_OP, NOP_OP, OR_OP, SUB_OP, U_OP
 
Constructor Summary
LocationPath()
           
LocationPath(boolean absolute)
           
 
Method Summary
 void addLocationPath(LocationPath lp)
           
 void addStep(Step step)
           
 Step getStep(int index)
           
 int getStepsCount()
           
 boolean isAbsolute()
           
 boolean isRelative()
           
 void setRelative(boolean therelative)
           
 java.lang.String toString()
          Returns string representation of expression.
 
Methods inherited from class de.fzi.XPath.Expr
getNegative, getOperator, getOperatorAsString, getOperatorName, getPositive, setOperator, setPositive
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocationPath

public LocationPath()

LocationPath

public LocationPath(boolean absolute)
Method Detail

addStep

public void addStep(Step step)

addLocationPath

public void addLocationPath(LocationPath lp)

getStepsCount

public int getStepsCount()

getStep

public Step getStep(int index)

isRelative

public boolean isRelative()

isAbsolute

public boolean isAbsolute()

setRelative

public void setRelative(boolean therelative)

toString

public java.lang.String toString()
Description copied from class: Expr
Returns string representation of expression.
Overrides:
toString in class Expr
Following copied from class: de.fzi.XPath.Expr
Returns:
Returns string representation of expression.