Class VariableReference
java.lang.Object
org.exolab.adaptx.xpath.expressions.PrimaryExpr
org.exolab.adaptx.xpath.expressions.VariableReference
- All Implemented Interfaces:
XPathExpression
Represents the XPath VariableReference expression
- Version:
- $Revision: 4049 $ $Date: 2004-01-13 07:03:48 +0100 (Tue, 13 Jan 2004) $
- Author:
- Keith Visco
-
Field Summary
Fields inherited from class PrimaryExpr
EXPR, FUNCTION_CALL, LITERAL, NUMBER, VARIABLE_REFERENCEFields inherited from interface XPathExpression
BOOLEAN, ERROR, FILTER_EXPR, LOCATION_PATH, NODE_TEST, PATH_EXPR, PRIMARY, STEP, STRING, UNION_EXPR -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class PrimaryExpr
getExprType, getTypeMethods inherited from interface XPathExpression
evaluate
-
Constructor Details
-
VariableReference
public VariableReference()Creates a new VariableReference
-
-
Method Details
-
getName
Returns the name of the "referenced" variable- Returns:
- the name of the variable reference
-
toString
Returns the String representation of a VariableReference- Specified by:
toStringin interfaceXPathExpression- Overrides:
toStringin classObject- Returns:
- the String representation of a VariableReference
-