Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jaxen.expr.DefaultExpr
org.jaxen.expr.DefaultFilterExpr
Field Summary | |
private Expr | |
private PredicateSet | |
private static long |
Constructor Summary | |
| |
|
Method Summary | |
void |
|
boolean | |
Object | |
Expr |
|
PredicateSet |
|
List |
|
String |
|
Expr |
|
String |
|
Methods inherited from class org.jaxen.expr.DefaultExpr | |
convertToIterator , convertToList , simplify |
public void addPredicate(Predicate predicate)
Add an additional predicate to this object.
- Specified by:
- addPredicate in interface Predicated
- Parameters:
predicate
- the predicate to add
public boolean asBoolean(Context context) throws JaxenException
Returns true if the current filter matches at least one of the context nodes
- Specified by:
- asBoolean in interface FilterExpr
public Expr getExpr()
- Specified by:
- getExpr in interface FilterExpr
- Returns:
- the underlying filter expression
public PredicateSet getPredicateSet()
Returns a possibly empty set of predicates.
- Specified by:
- getPredicateSet in interface Predicated
- Returns:
- the set of predicates
public List getPredicates()
Returns a possibly empty list of predicates.
- Specified by:
- getPredicates in interface Predicated
- Returns:
- the list of predicates
public String toString()