de.fraunhofer.ipsi.xquery.tree.primary
Class XQueryVariable

java.lang.Object
  extended by de.fraunhofer.ipsi.xquery.tree.XQueryNodeAbstract
      extended by de.fraunhofer.ipsi.xquery.tree.expression.XQueryExpressionAbstract
          extended by de.fraunhofer.ipsi.xquery.tree.primary.XQueryPrimaryExprAbstract
              extended by de.fraunhofer.ipsi.xquery.tree.primary.XQueryVariable
All Implemented Interfaces:
XQueryExpression, XQueryPrimaryExpr, XQueryStepExpr, XQueryNode

public class XQueryVariable
extends XQueryPrimaryExprAbstract

XQuery Interpreter Variable Operator.

Since:
CVS $Date: 2005/07/22 10:05:49 $
Version:
CVS $Revision: 1.5 $
Author:
Tobias Groh, Sven Overhage

Constructor Summary
XQueryVariable(PositionInfo pos, java.lang.String n)
          Constructor
 
Method Summary
 void acceptVisitor(VisitorXQueryExpression visitor)
          Method acceptVisitor
 QNameExpr getName()
          Method getName
 
Methods inherited from class de.fraunhofer.ipsi.xquery.tree.primary.XQueryPrimaryExprAbstract
isForwardStep
 
Methods inherited from class de.fraunhofer.ipsi.xquery.tree.expression.XQueryExpressionAbstract
getCoreExpression, setCoreExpression, toString
 
Methods inherited from class de.fraunhofer.ipsi.xquery.tree.XQueryNodeAbstract
getPosition, setPosition
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.fraunhofer.ipsi.xquery.tree.expression.XQueryExpression
getCoreExpression
 
Methods inherited from interface de.fraunhofer.ipsi.xquery.tree.XQueryNode
getPosition
 

Constructor Detail

XQueryVariable

public XQueryVariable(PositionInfo pos,
                      java.lang.String n)
Constructor

Parameters:
column - an int
line - an int
n - a String
Method Detail

getName

public QNameExpr getName()
Method getName

Returns:
a QName

acceptVisitor

public void acceptVisitor(VisitorXQueryExpression visitor)
                   throws XQueryException
Method acceptVisitor

Parameters:
visitor - a VisitorXQuery
Throws:
QueryException
XQueryException