Class PrimaryExpr
java.lang.Object
org.exolab.adaptx.xpath.expressions.PrimaryExpr
- All Implemented Interfaces:
XPathExpression
- Direct Known Subclasses:
FunctionCall
,VariableReference
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 09:55:04 +0200 (Tue, 13 May 2003) $
- Author:
- Keith Visco
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final short
static final short
static final short
static final short
static final short
Fields inherited from interface org.exolab.adaptx.xpath.XPathExpression
BOOLEAN, ERROR, FILTER_EXPR, LOCATION_PATH, NODE_TEST, PATH_EXPR, PRIMARY, STEP, STRING, UNION_EXPR
-
Method Summary
Modifier and TypeMethodDescriptionfinal short
Returns the XPathExpression typefinal short
getType()
Retrieves the type of this PrimaryExprMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.exolab.adaptx.xpath.XPathExpression
evaluate, toString
-
Field Details
-
VARIABLE_REFERENCE
public static final short VARIABLE_REFERENCE- See Also:
-
EXPR
public static final short EXPR- See Also:
-
LITERAL
public static final short LITERAL- See Also:
-
NUMBER
public static final short NUMBER- See Also:
-
FUNCTION_CALL
public static final short FUNCTION_CALL- See Also:
-
-
Method Details
-
getExprType
public final short getExprType()Returns the XPathExpression type- Specified by:
getExprType
in interfaceXPathExpression
- Returns:
- the XPathExpression type
-
getType
public final short getType()Retrieves the type of this PrimaryExpr- Returns:
- the type of this PrimaryExpr
-