Package org.jaxen.expr
Interface Predicated
-
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
AllNodeStep
,CommentNodeStep
,FilterExpr
,NameStep
,ProcessingInstructionNodeStep
,Step
,TextNodeStep
- All Known Implementing Classes:
DefaultAllNodeStep
,DefaultCommentNodeStep
,DefaultFilterExpr
,DefaultNameStep
,DefaultProcessingInstructionNodeStep
,DefaultStep
,DefaultTextNodeStep
public interface Predicated extends java.io.Serializable
Interface for objects which can have one or more predicates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addPredicate(Predicate predicate)
Add an additional predicate to this object.java.util.List
getPredicates()
Returns a possibly empty list of predicates.PredicateSet
getPredicateSet()
Returns a possibly empty set of predicates.
-
-
-
Method Detail
-
addPredicate
void addPredicate(Predicate predicate)
Add an additional predicate to this object.- Parameters:
predicate
- the predicate to add
-
getPredicates
java.util.List getPredicates()
Returns a possibly empty list of predicates.- Returns:
- the list of predicates
-
getPredicateSet
PredicateSet getPredicateSet()
Returns a possibly empty set of predicates.- Returns:
- the set of predicates
-
-