org.jaxen.expr

Interface Predicated

public interface Predicated extends Serializable

Interface for objects which can have one or more predicates.
Method Summary
voidaddPredicate(Predicate predicate)
Add an additional predicate to this object.
ListgetPredicates()
Returns a possibly empty list of predicates.
PredicateSetgetPredicateSet()
Returns a possibly empty set of predicates.

Method Detail

addPredicate

public void addPredicate(Predicate predicate)
Add an additional predicate to this object.

Parameters: predicate the predicate to add

getPredicates

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

Returns: the list of predicates

getPredicateSet

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

Returns: the set of predicates