org.jaxen.expr

Interface Predicated

All Superinterfaces:
Serializable
Known Subinterfaces:
AllNodeStep, CommentNodeStep, FilterExpr, NameStep, ProcessingInstructionNodeStep, Step, TextNodeStep
Known Implementing Classes:
DefaultAllNodeStep, DefaultCommentNodeStep, DefaultFilterExpr, DefaultNameStep, DefaultProcessingInstructionNodeStep, DefaultStep, DefaultTextNodeStep

public interface Predicated
extends Serializable

Interface for objects which can have one or more predicates.

Method Summary

void
addPredicate(Predicate predicate)
Add an additional predicate to this object.
PredicateSet
getPredicateSet()
Returns a possibly empty set of predicates.
List
getPredicates()
Returns a possibly empty list of predicates.

Method Details

addPredicate

public void addPredicate(Predicate predicate)
Add an additional predicate to this object.
Parameters:
predicate - the predicate to add

getPredicateSet

public PredicateSet getPredicateSet()
Returns a possibly empty set of predicates.
Returns:
the set of predicates

getPredicates

public List getPredicates()
Returns a possibly empty list of predicates.
Returns:
the list of predicates