org.jaxen.expr

Interface PathExpr

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
ExprgetFilterExpr()
Returns the filter expression that starts the path expression.
LocationPathgetLocationPath()
Returns the location path part of this path expression.
voidsetFilterExpr(Expr filterExpr)
Changes the expression's filter expression.

Method Detail

getFilterExpr

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

Returns: the filter expression that starts the path expression

getLocationPath

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

Returns: the location path part of this expression

setFilterExpr

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

Parameters: the new filter expression