org.exolab.adaptx.xpath.expressions
Class PredicateExpr
java.lang.Object
org.exolab.adaptx.xpath.expressions.PredicateExpr
- XPathExpression
public abstract class PredicateExpr
extends java.lang.Object
This class represents an XPath predicate expression.
This class handles predicates as a linked list of
PredicateExpr, each containing the actual expression
used during evaluation.
Version:
- Keith Visco
BOOLEAN , ERROR , FILTER_EXPR , LOCATION_PATH , NODE_TEST , NUMBER , PATH_EXPR , PRIMARY , STEP , STRING , UNION_EXPR |
getExprType
public final short getExprType()
Returns the XPathExpression type
- getExprType in interface XPathExpression
- the XPathExpression type
getExpression
public XPathExpression getExpression()
Returns the actual XPathExpression for this predicate
- the XPathExpression for this predicate
getNext
public PredicateExpr getNext()
Returns the next PredicateExpr for this PredicateExpr
hasNext
public boolean hasNext()
Returns true if there are more predicate expressions
- true if there are more predicate expressions