org.exolab.adaptx.xpath.engine
Class PrimaryExpr
java.lang.Object
|
+--org.exolab.adaptx.xpath.engine.PrimaryExpr
- All Implemented Interfaces:
- XPathExpression
- public abstract class PrimaryExpr
- extends java.lang.Object
- implements XPathExpression
Represents a PrimaryExpr
from XSLT WD 19990421
[14] PrimaryExpr ::= VariableReference
| '(' Expr ')'
| Literal
| Number
| FunctionCall
- Version:
- $Revision: 1.2 $ $Date: 2003/05/13 07:59:08 $
- Author:
- Keith Visco
Method Summary |
short |
getExprType()
Returns the type of Expr this Expr represents |
short |
getType()
Retrieves the type of this PrimaryExpr |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VARIABLE_REFERENCE
public static final short VARIABLE_REFERENCE
- See Also:
- Constant Field Values
EXPR
public static final short EXPR
- See Also:
- Constant Field Values
LITERAL
public static final short LITERAL
- See Also:
- Constant Field Values
NUMBER
public static final short NUMBER
- See Also:
- Constant Field Values
FUNCTION_CALL
public static final short FUNCTION_CALL
- See Also:
- Constant Field Values
getExprType
public short getExprType()
- Returns the type of Expr this Expr represents
- Specified by:
getExprType
in interface XPathExpression
- Returns:
- the type of Expr this Expr represents
getType
public final short getType()
- Retrieves the type of this PrimaryExpr
- Returns:
- the type of this PrimaryExpr