org.ucl.xpath.ast
Class VarRef

java.lang.Object
  extended byorg.ucl.xpath.ast.XPathNode
      extended byorg.ucl.xpath.ast.PrimaryExpr
          extended byorg.ucl.xpath.ast.VarRef

public class VarRef
extends PrimaryExpr

Support for Variable Reference. A QName preceded by a $-sign is a variable reference.


Constructor Summary
VarRef(QName name)
          Constructor for VarRef.
 
Method Summary
 java.lang.Object accept(XPathVisitor v)
          Support for Visitor interface.
 QName name()
          Support for QName interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VarRef

public VarRef(QName name)
Constructor for VarRef.

Parameters:
name - QName.
Method Detail

accept

public java.lang.Object accept(XPathVisitor v)
Support for Visitor interface.

Specified by:
accept in class XPathNode
Returns:
Result of Visitor operation.

name

public QName name()
Support for QName interface.

Returns:
Result of QName operation.