org.exolab.adaptx.xpath.engine
Class PrimaryExpr
java.lang.Object
org.exolab.adaptx.xpath.engine.PrimaryExpr
- XPathExpression
public abstract class PrimaryExpr
extends java.lang.Object
Represents a PrimaryExpr
from XSLT WD 19990421
[14] PrimaryExpr ::= VariableReference
| '(' Expr ')'
| Literal
| Number
| FunctionCall
$Revision: 1.2 $ $Date: 2003/05/13 07:59:08 $
BOOLEAN , ERROR , FILTER_EXPR , LOCATION_PATH , NODE_TEST , NUMBER , PATH_EXPR , PRIMARY , STEP , STRING , UNION_EXPR |
short | getExprType() - Returns the type of Expr this Expr represents
|
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
getExprType
public short getExprType()
Returns the type of Expr this Expr represents
- getExprType in interface XPathExpression
- the type of Expr this Expr represents
getType
public final short getType()
Retrieves the type of this PrimaryExpr
- the type of this PrimaryExpr