org.ucl.xpath.ast
Class NameTest

java.lang.Object
  extended byorg.ucl.xpath.ast.XPathNode
      extended byorg.ucl.xpath.ast.NodeTest
          extended byorg.ucl.xpath.ast.NameTest

public class NameTest
extends NodeTest

Class for Name test operation.


Constructor Summary
NameTest(QName name)
          Constructor for NameTest.
 
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

NameTest

public NameTest(QName name)
Constructor for NameTest.

Parameters:
name - QName to test.
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:
Resulf of QName operation.