org.exolab.adaptx.xpath.expressions
Class PrimaryExpr
java.lang.Object
org.exolab.adaptx.xpath.expressions.PrimaryExpr
- XPathExpression
public abstract class PrimaryExpr
extends java.lang.Object
Represents an XPath 1.0 PrimaryExpr
from XPath 1.0 Recommendation:
[15] PrimaryExpr ::= VariableReference
| '(' Expr ')'
| Literal
| Number
| FunctionCall
$Revision: 3734 $ $Date: 2003-05-13 03:55:04 -0400 (Tue, 13 May 2003) $
BOOLEAN , ERROR , FILTER_EXPR , LOCATION_PATH , NODE_TEST , NUMBER , PATH_EXPR , PRIMARY , STEP , STRING , UNION_EXPR |
short | getExprType() - Returns the XPathExpression type
|
short | getType() - Retrieves the type of this PrimaryExpr
|
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
The NodeTest expressions type
VARIABLE_REFERENCE
public static final short VARIABLE_REFERENCE
getType
public final short getType()
Retrieves the type of this PrimaryExpr
- the type of this PrimaryExpr