public class DefaultFilterExpr extends DefaultExpr implements FilterExpr, Predicated
| Constructor and Description |
|---|
DefaultFilterExpr() |
DefaultFilterExpr(Expr expr) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPredicate(Predicate predicate) |
boolean |
asBoolean(Context context)
Returns true if the current filter matches at least one of the context nodes
|
Object |
evaluate(Context context) |
Expr |
getExpr() |
List |
getPredicates() |
org.xmlpull.v1.builder.xpath.jaxen.expr.PredicateSet |
getPredicateSet() |
String |
getText() |
Expr |
simplify() |
String |
toString() |
convertToIterator, convertToListpublic DefaultFilterExpr()
public DefaultFilterExpr(Expr expr)
public void addPredicate(Predicate predicate)
addPredicate in interface Predicatedpublic List getPredicates()
getPredicates in interface Predicatedpublic org.xmlpull.v1.builder.xpath.jaxen.expr.PredicateSet getPredicateSet()
getPredicateSet in interface Predicatedpublic Expr getExpr()
public Expr simplify()
simplify in interface Exprsimplify in class DefaultExprpublic boolean asBoolean(Context context) throws JaxenException
asBoolean in interface FilterExprJaxenExceptionpublic Object evaluate(Context context) throws JaxenException
evaluate in interface ExprJaxenExceptionCopyright © 2013. All Rights Reserved.