org.oXML.xpath.step
Class NameTest

java.lang.Object
  extended byorg.oXML.xpath.step.NameTest
All Implemented Interfaces:
NodeTest

public class NameTest
extends java.lang.Object
implements NodeTest


Field Summary
 
Fields inherited from interface org.oXML.xpath.step.NodeTest
OUTPUT_NS
 
Constructor Summary
NameTest(QName qname)
           
 
Method Summary
 void bind(Resolver ctxt)
           
 NodeFilter eval(RuntimeContext context)
           
 boolean principal()
          does this NodeTest require nodes to be of the principal node type
 java.lang.String toString()
           
 void write(org.xml.sax.ContentHandler handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NameTest

public NameTest(QName qname)
Method Detail

bind

public void bind(Resolver ctxt)
          throws XPathException
Specified by:
bind in interface NodeTest
Throws:
XPathException

eval

public NodeFilter eval(RuntimeContext context)
                throws XPathException
Specified by:
eval in interface NodeTest
Throws:
XPathException

principal

public boolean principal()
Description copied from interface: NodeTest
does this NodeTest require nodes to be of the principal node type

Specified by:
principal in interface NodeTest
Returns:
true if it does, false if it doesn't

toString

public java.lang.String toString()

write

public void write(org.xml.sax.ContentHandler handler)
           throws org.xml.sax.SAXException
Specified by:
write in interface NodeTest
Throws:
org.xml.sax.SAXException