org.jaxen.expr
Interface PathExpr

All Superinterfaces:
Expr, java.io.Serializable
All Known Implementing Classes:
DefaultPathExpr

public interface PathExpr
extends Expr

Represents an XPath path expression. This is production 19 in the XPath 1.0 specification:

[19] PathExpr ::= LocationPath    
                | FilterExpr    
                | FilterExpr '/' RelativeLocationPath   
                | FilterExpr '//' RelativeLocationPath  


Method Summary
 Expr getFilterExpr()
          Returns the filter expression that starts the path expression.
 LocationPath getLocationPath()
          Returns the location path part of this path expression.
 void setFilterExpr(Expr filterExpr)
          Changes the expression's filter expression.
 
Methods inherited from interface org.jaxen.expr.Expr
evaluate, getText, simplify
 

Method Detail

getFilterExpr

public Expr getFilterExpr()
Returns the filter expression that starts the path expression.

Returns:
the filter expression that starts the path expression

setFilterExpr

public void setFilterExpr(Expr filterExpr)
Changes the expression's filter expression.


getLocationPath

public LocationPath getLocationPath()
Returns the location path part of this path expression.

Returns:
the location path part of this expression