org.jaxen.expr

Class PredicateSet

Implemented Interfaces:
Serializable

public class PredicateSet
extends java.lang.Object
implements Serializable

Field Summary

private List
predicates
private static long
serialVersionUID

Constructor Summary

PredicateSet()

Method Summary

void
addPredicate(Predicate predicate)
private boolean
anyMatchingNode(List contextNodeSet, ContextSupport support)
List
applyPredicate(Predicate predicate, List nodes2Filter, ContextSupport support)
protected boolean
evaluateAsBoolean(List contextNodeSet, ContextSupport support)
protected List
evaluatePredicates(List contextNodeSet, ContextSupport support)
List
getPredicates()
String
getText()
void
simplify()

Field Details

predicates

private List predicates

serialVersionUID

private static final long serialVersionUID
Field Value:
-7166491740228977853L

Constructor Details

PredicateSet

public PredicateSet()

Method Details

addPredicate

public void addPredicate(Predicate predicate)

anyMatchingNode

private boolean anyMatchingNode(List contextNodeSet,
                                ContextSupport support)
            throws JaxenException

applyPredicate

public List applyPredicate(Predicate predicate,
                           List nodes2Filter,
                           ContextSupport support)
            throws JaxenException

evaluateAsBoolean

protected boolean evaluateAsBoolean(List contextNodeSet,
                                    ContextSupport support)
            throws JaxenException

evaluatePredicates

protected List evaluatePredicates(List contextNodeSet,
                                  ContextSupport support)
            throws JaxenException

getPredicates

public List getPredicates()

getText

public String getText()

simplify

public void simplify()