org.exolab.adaptx.xpath.expressions

Class PredicateExpr

public abstract class PredicateExpr extends Object implements 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 03:55:04 -0400 (Tue, 13 May 2003) $

Author: Keith Visco

Method Summary
abstract XPathExpressiongetExpression()
Returns the actual XPathExpression for this predicate
shortgetExprType()
Returns the XPathExpression type
abstract PredicateExprgetNext()
Returns the next PredicateExpr for this PredicateExpr
abstract booleanhasNext()
Returns true if there are more predicate expressions

Method Detail

getExpression

public abstract XPathExpression getExpression()
Returns the actual XPathExpression for this predicate

Returns: the XPathExpression for this predicate

getExprType

public final short getExprType()
Returns the XPathExpression type

Returns: the XPathExpression type

getNext

public abstract PredicateExpr getNext()
Returns the next PredicateExpr for this PredicateExpr

UNKNOWN: the next PredicateExpr in this PredicateExpr

hasNext

public abstract boolean hasNext()
Returns true if there are more predicate expressions

Returns: true if there are more predicate expressions