org.oXML.xpath.step
Class NodeType
java.lang.Object
org.oXML.xpath.step.NodeType
- All Implemented Interfaces:
- NodeTest
- public class NodeType
- extends java.lang.Object
- implements NodeTest
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COMMENT
public static final int COMMENT
- See Also:
- Constant Field Values
TEXT
public static final int TEXT
- See Also:
- Constant Field Values
PROCESSING_INSTRUCTION
public static final int PROCESSING_INSTRUCTION
- See Also:
- Constant Field Values
NODE
public static final int NODE
- See Also:
- Constant Field Values
NodeType
public NodeType(int type)
bind
public void bind(Resolver ctxt)
- Specified by:
bind in interface NodeTest
eval
public NodeFilter eval(RuntimeContext context)
- Specified by:
eval in interface NodeTest
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
typeName
public static java.lang.String typeName(int type)
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