org.jaxen.expr
Class DefaultLocationPath

java.lang.Object
  extended byorg.jaxen.expr.DefaultExpr
      extended byorg.jaxen.expr.DefaultLocationPath
All Implemented Interfaces:
Expr, LocationPath, java.io.Serializable, Visitable
Direct Known Subclasses:
DefaultAbsoluteLocationPath, DefaultRelativeLocationPath

abstract class DefaultLocationPath
extends DefaultExpr
implements LocationPath


Field Summary
private static java.lang.Object PRESENT
           
private  java.util.List steps
           
 
Constructor Summary
DefaultLocationPath()
           
 
Method Summary
 void addStep(Step step)
           
 java.lang.Object evaluate(Context context)
           
 java.util.List getSteps()
           
 java.lang.String getText()
           
 boolean isAbsolute()
           
 Expr simplify()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jaxen.expr.DefaultExpr
convertToIterator, convertToList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jaxen.expr.Visitable
accept
 

Field Detail

steps

private java.util.List steps

PRESENT

private static final java.lang.Object PRESENT
Constructor Detail

DefaultLocationPath

public DefaultLocationPath()
Method Detail

addStep

public void addStep(Step step)
Specified by:
addStep in interface LocationPath

getSteps

public java.util.List getSteps()
Specified by:
getSteps in interface LocationPath

simplify

public Expr simplify()
Specified by:
simplify in interface Expr
Overrides:
simplify in class DefaultExpr

getText

public java.lang.String getText()
Specified by:
getText in interface LocationPath

toString

public java.lang.String toString()

isAbsolute

public boolean isAbsolute()
Specified by:
isAbsolute in interface LocationPath

evaluate

public java.lang.Object evaluate(Context context)
                          throws JaxenException
Specified by:
evaluate in interface Expr
Throws:
JaxenException