Class PredicateExpr
java.lang.Object
org.exolab.adaptx.xpath.expressions.PredicateExpr
- All Implemented Interfaces:
XPathExpression
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:
- $Revision: 3734 $ $Date: 2003-05-13 09:55:04 +0200 (Tue, 13 May 2003) $
- Author:
- Keith Visco
-
Field Summary
Fields inherited from interface org.exolab.adaptx.xpath.XPathExpression
BOOLEAN, ERROR, FILTER_EXPR, LOCATION_PATH, NODE_TEST, NUMBER, PATH_EXPR, PRIMARY, STEP, STRING, UNION_EXPR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract XPathExpression
Returns the actual XPathExpression for this predicatefinal short
Returns the XPathExpression typeabstract PredicateExpr
getNext()
Returns the next PredicateExpr for this PredicateExprabstract boolean
hasNext()
Returns true if there are more predicate expressionsMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.exolab.adaptx.xpath.XPathExpression
evaluate, toString
-
Constructor Details
-
PredicateExpr
public PredicateExpr()
-
-
Method Details
-
getExpression
Returns the actual XPathExpression for this predicate- Returns:
- the XPathExpression for this predicate
-
getExprType
public final short getExprType()Returns the XPathExpression type- Specified by:
getExprType
in interfaceXPathExpression
- Returns:
- the XPathExpression type
-
getNext
Returns the next PredicateExpr for this PredicateExpr -
hasNext
public abstract boolean hasNext()Returns true if there are more predicate expressions- Returns:
- true if there are more predicate expressions
-