org.jaxen.expr
Interface FilterExpr

All Superinterfaces:
Expr, Predicated, java.io.Serializable, Visitable
All Known Implementing Classes:
DefaultFilterExpr

public interface FilterExpr
extends Expr, Predicated


Method Summary
 boolean asBoolean(Context context)
          Evaluates the filter expression on the current context and returns true if at least one node matches.
 Expr getExpr()
           
 
Methods inherited from interface org.jaxen.expr.Expr
evaluate, getText, simplify
 
Methods inherited from interface org.jaxen.expr.Visitable
accept
 
Methods inherited from interface org.jaxen.expr.Predicated
addPredicate, getPredicates, getPredicateSet
 

Method Detail

asBoolean

public boolean asBoolean(Context context)
                  throws JaxenException
Evaluates the filter expression on the current context and returns true if at least one node matches.

Throws:
JaxenException

getExpr

public Expr getExpr()
Returns:
underlying filter expression


Copyright © 2001-2005 Codehaus. All Rights Reserved.