org.exolab.adaptx.xpath.expressions

Class PrimaryExpr

public abstract class PrimaryExpr extends Object implements XPathExpression

Represents an XPath 1.0 PrimaryExpr
 from XPath 1.0 Recommendation:
 [15] PrimaryExpr ::= VariableReference
                      | '(' Expr ')'
                      | Literal
                      | Number
                      | FunctionCall
 

Version: $Revision: 3734 $ $Date: 2003-05-13 03:55:04 -0400 (Tue, 13 May 2003) $

Author: Keith Visco

Field Summary
static shortEXPR
static shortFUNCTION_CALL
static shortLITERAL
static shortNUMBER
static shortVARIABLE_REFERENCE
Method Summary
shortgetExprType()
Returns the XPathExpression type
shortgetType()
Retrieves the type of this PrimaryExpr

Field Detail

EXPR

public static final short EXPR

FUNCTION_CALL

public static final short FUNCTION_CALL

LITERAL

public static final short LITERAL

NUMBER

public static final short NUMBER

VARIABLE_REFERENCE

public static final short VARIABLE_REFERENCE

Method Detail

getExprType

public final short getExprType()
Returns the XPathExpression type

Returns: the XPathExpression type

getType

public final short getType()
Retrieves the type of this PrimaryExpr

Returns: the type of this PrimaryExpr