public abstract class PrimaryExpr extends java.lang.Object implements XPathExpression
from XPath 1.0 Recommendation: [15] PrimaryExpr ::= VariableReference | '(' Expr ')' | Literal | Number | FunctionCall
Modifier and Type | Field and Description |
---|---|
static short |
EXPR |
static short |
FUNCTION_CALL |
static short |
LITERAL |
static short |
NUMBER |
static short |
VARIABLE_REFERENCE |
BOOLEAN, ERROR, FILTER_EXPR, LOCATION_PATH, NODE_TEST, PATH_EXPR, PRIMARY, STEP, STRING, UNION_EXPR
Modifier and Type | Method and Description |
---|---|
short |
getExprType()
Returns the XPathExpression type
|
short |
getType()
Retrieves the type of this PrimaryExpr
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
evaluate, toString
public static final short VARIABLE_REFERENCE
public static final short EXPR
public static final short LITERAL
public static final short NUMBER
public static final short FUNCTION_CALL
public final short getExprType()
getExprType
in interface XPathExpression
public final short getType()