|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--de.fzi.XPath.NodeTest
|
+--de.fzi.XPath.NodeType
NodeType class.
| Field Summary | |
static int |
COMMENT
Comment node type. |
static int |
INVALID
Invalid node type. |
static int |
NODE
Any node type. |
static int |
PROCESSING_INSTRUCTION
PI node type. |
static int |
TEXT
Text node type. |
| Constructor Summary | |
NodeType(java.lang.String newName)
Constructs NodeType for given name. |
|
NodeType(java.lang.String newName,
java.lang.String newValue)
Constructs NodeType for given name and value (a case of
processing-instruction). |
|
| Method Summary | |
int |
getNodeType()
Returns node type code for this NodeType instance. |
static int |
getNodeType(java.lang.String NodeTypeName)
Returns node type code for given name. |
java.lang.String |
getNodeTypeName()
Returns node type name for this NodeType instance. |
static java.lang.String |
getNodeTypeName(int nodetype)
Returns node type name for given node type code. |
java.lang.String |
toString()
Returns string representation of this NodeType instance. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int INVALID
public static final int COMMENT
public static final int TEXT
public static final int PROCESSING_INSTRUCTION
public static final int NODE
| Constructor Detail |
public NodeType(java.lang.String newName)
NodeType for given name.newName - name of node type.
public NodeType(java.lang.String newName,
java.lang.String newValue)
NodeType for given name and value (a case of
processing-instruction).newName - name of node type (should be
"processing-instruction").newValue - value of node type.| Method Detail |
public static int getNodeType(java.lang.String NodeTypeName)
NodeTypeName - name of node type.public static java.lang.String getNodeTypeName(int nodetype)
node - type code.public java.lang.String getNodeTypeName()
public int getNodeType()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||