org.exolab.adaptx.xpath.expressions
Class VariableReference

java.lang.Object
  extended by org.exolab.adaptx.xpath.expressions.PrimaryExpr
      extended by org.exolab.adaptx.xpath.expressions.VariableReference
All Implemented Interfaces:
XPathExpression

public abstract class VariableReference
extends PrimaryExpr

Represents the XPath VariableReference expression

Version:
$Revision: 4049 $ $Date: 2004-01-13 01:03:48 -0500 (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, PATH_EXPR, PRIMARY, STEP, STRING, UNION_EXPR
 
Constructor Summary
VariableReference()
          Creates a new VariableReference
 
Method Summary
abstract  java.lang.String getName()
          Returns the name of the "referenced" variable
 java.lang.String toString()
          Returns the String representation of a VariableReference
 
Methods inherited from class org.exolab.adaptx.xpath.expressions.PrimaryExpr
getExprType, getType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.exolab.adaptx.xpath.XPathExpression
evaluate
 

Constructor Detail

VariableReference

public VariableReference()
Creates a new VariableReference

Method Detail

getName

public abstract java.lang.String getName()
Returns the name of the "referenced" variable

Returns:
the name of the variable reference

toString

public java.lang.String toString()
Returns the String representation of a VariableReference

Specified by:
toString in interface XPathExpression
Overrides:
toString in class java.lang.Object
Returns:
the String representation of a VariableReference