org.planx.xpath.expr
Class PredicateList
java.lang.Object
org.planx.xpath.expr.PredicateList
public class PredicateList
- extends Object
A list of predicates, including the ability to filter a
node set through all predicates.
|
Constructor Summary |
PredicateList()
Construct an empty list of predicates. |
PredicateList
public PredicateList()
- Construct an empty list of predicates.
addPredicate
public void addPredicate(Expression expr)
evaluate
public XNodeSet evaluate(XNodeSet ctxtSet,
Environment env,
Navigator nav)
throws XPathException
- Evaluates all predicates for each node in the node set
and returns the matching nodes. The predicates will be
evaluated by setting the context size to the size of the
node set and context position to the index of a node in
the node set.
- Throws:
XPathException
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2010. All Rights Reserved.