org.oXML.xpath.step
Class NodeType

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

public class NodeType
extends java.lang.Object
implements NodeTest


Field Summary
static int COMMENT
           
static int NODE
           
static int PROCESSING_INSTRUCTION
           
static int TEXT
           
 
Fields inherited from interface org.oXML.xpath.step.NodeTest
OUTPUT_NS
 
Constructor Summary
NodeType(int type)
           
 
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()
           
static java.lang.String typeName(int type)
           
 void write(org.xml.sax.ContentHandler handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

NodeType

public NodeType(int type)
Method Detail

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