org.oXML.xpath.step
Class NameTest
java.lang.Object
org.oXML.xpath.step.NameTest
- All Implemented Interfaces:
- NodeTest
- public class NameTest
- extends java.lang.Object
- implements NodeTest
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NameTest
public NameTest(QName qname)
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