org.jaxen.expr
Class DefaultPathExpr

java.lang.Object
  extended byorg.jaxen.expr.DefaultExpr
      extended byorg.jaxen.expr.DefaultPathExpr
All Implemented Interfaces:
Expr, PathExpr, java.io.Serializable, Visitable

class DefaultPathExpr
extends DefaultExpr
implements PathExpr


Field Summary
private  Expr filterExpr
           
private  LocationPath locationPath
           
 
Constructor Summary
DefaultPathExpr(Expr filterExpr, LocationPath locationPath)
           
 
Method Summary
 void accept(Visitor visitor)
           
 java.lang.Object evaluate(Context context)
           
 Expr getFilterExpr()
           
 LocationPath getLocationPath()
           
 java.lang.String getText()
           
 void setFilterExpr(Expr filterExpr)
           
 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
 

Field Detail

filterExpr

private Expr filterExpr

locationPath

private LocationPath locationPath
Constructor Detail

DefaultPathExpr

public DefaultPathExpr(Expr filterExpr,
                       LocationPath locationPath)
Method Detail

getFilterExpr

public Expr getFilterExpr()
Specified by:
getFilterExpr in interface PathExpr

setFilterExpr

public void setFilterExpr(Expr filterExpr)
Specified by:
setFilterExpr in interface PathExpr

getLocationPath

public LocationPath getLocationPath()
Specified by:
getLocationPath in interface PathExpr

toString

public java.lang.String toString()

getText

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

simplify

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

evaluate

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

accept

public void accept(Visitor visitor)
Specified by:
accept in interface Visitable