org.exolab.adaptx.xpath.expressions

Class VariableReference

Implemented Interfaces:
XPathExpression

public abstract class VariableReference
extends PrimaryExpr

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 org.exolab.adaptx.xpath.expressions.PrimaryExpr

EXPR, FUNCTION_CALL, LITERAL, NUMBER, VARIABLE_REFERENCE

Fields inherited from interface org.exolab.adaptx.xpath.XPathExpression

BOOLEAN, ERROR, FILTER_EXPR, LOCATION_PATH, NODE_TEST, NUMBER, PATH_EXPR, PRIMARY, STEP, STRING, UNION_EXPR

Constructor Summary

VariableReference()
Creates a new VariableReference

Method Summary

abstract String
getName()
Returns the name of the "referenced" variable
String
toString()
Returns the String representation of a VariableReference

Methods inherited from class org.exolab.adaptx.xpath.expressions.PrimaryExpr

getExprType, getType

Constructor Details

VariableReference

public VariableReference()
Creates a new VariableReference

Method Details

getName

public abstract String getName()
Returns the name of the "referenced" variable
Returns:
the name of the variable reference

toString

public String toString()
Returns the String representation of a VariableReference
Specified by:
toString in interface XPathExpression
Returns:
the String representation of a VariableReference