|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.xml.xpath.NodeType
public class NodeType
Class that represents a NodeType NodeTest in an XPath expression.
NodeTypePI
Constructor Summary | |
---|---|
protected |
NodeType(int type)
|
|
NodeType(NodeTypeToken token)
Construct a NodeType object based on the lexical token |
Method Summary | |
---|---|
boolean |
evaluate(Node node)
Evaluate the NodeTest with respect to the expression context |
int |
getNodeType()
Return type of NodeType (comment, node, pi, text) |
String |
toString()
Provide a readable description for debugging. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NodeType(NodeTypeToken token)
token
- Node type tokenprotected NodeType(int type)
Method Detail |
---|
public int getNodeType()
public String toString()
toString
in class Object
public boolean evaluate(Node node)
evaluate
in interface NodeTest
node
- node to evaluate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |