jd.xml.xpath.expr.path
Class PredicateExpression
java.lang.Object
jd.xml.xpath.expr.ExpressionImpl
jd.xml.xpath.expr.NodeSetExpression
jd.xml.xpath.expr.path.PredicateExpression
- All Implemented Interfaces:
- Expression
- public class PredicateExpression
- extends NodeSetExpression
PredicateExpression represents a predicate that filters a nodeset resulting
from another expression.
| Methods inherited from class jd.xml.xpath.expr.NodeSetExpression |
canCreateModelWalker, getMaxResultSize, getMaxResultSize, getMinResultSize, getMinResultSize, getModelWalker, getResultType, toBooleanValue, toNumberValue, toStringValue, toXObject |
PredicateExpression
public PredicateExpression(Expression nodeSetExpr,
Expression predicateExpr,
boolean useForwardProximity)
- Create a PredicateExpression.
- Parameters:
nodeSetExpr - an expression that is filtered by the predicatepredicateExpr - the filter predicateuseForwardProximity - flag how to apply a position filter to the nodeset
toNodeSet
public XNodeSet toNodeSet(XPathContext context,
int nodeSetOrdering)
- Evaluate the Expression.
- Specified by:
toNodeSet in interface Expression- Overrides:
toNodeSet in class ExpressionImpl
getContextDependencies
public int getContextDependencies()
- Return a bitfield indicating the expression dependencies.
accept
public void accept(ExpressionVisitor visitor)
- Description copied from interface:
Expression
- Accept a ExpressionVisitor.