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
Version:
- Keith Visco
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
- 1
FUNCTION_CALL
public static final short FUNCTION_CALL
- 4
LITERAL
public static final short LITERAL
- 2
NUMBER
public static final short NUMBER
The NodeTest expressions type
- 3
VARIABLE_REFERENCE
public static final short VARIABLE_REFERENCE
- 0
getExprType
public final short getExprType()
Returns the XPathExpression type
- getExprType in interface XPathExpression
- the XPathExpression type
getType
public final short getType()
Retrieves the type of this PrimaryExpr
- the type of this PrimaryExpr