|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjd.xml.xpath.axis.NodeTest
jd.xml.xpath.axis.NodeTypeTest
jd.xml.xpath.axis.type.AllNodeTypeTest
Implements the node-test "node()".
Field Summary |
Fields inherited from class jd.xml.xpath.axis.NodeTypeTest |
ALL, COMMENT, NAME_ALL, NAME_COMMENT, NAME_PI, NAME_TEXT, PI, TEXT |
Fields inherited from class jd.xml.xpath.axis.NodeTest |
EXACT, NO, WILDCARD |
Constructor Summary | |
AllNodeTypeTest()
|
Method Summary | |
boolean |
accept(int nodeType)
Return true. |
void |
accept(NodeTestVisitor visitor)
Accept a NodeTestVisitor. |
boolean |
accept(XPathNode node,
int principalType)
Test if a node is accepted by this NodeTest. |
double |
calculatePriority()
Return -0.5. |
String |
toString()
Return a string representation of the NodeTest. |
Methods inherited from class jd.xml.xpath.axis.NodeTypeTest |
getTest, matchNames |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AllNodeTypeTest()
Method Detail |
public boolean accept(XPathNode node, int principalType)
accept
in class NodeTest
node
- the tested nodeprincipalType
- the principal node type as determined by the associated axispublic boolean accept(int nodeType)
accept
in class NodeTypeTest
public double calculatePriority()
calculatePriority
in class NodeTest
public void accept(NodeTestVisitor visitor)
accept
in class NodeTest
public String toString()
NodeTest
toString
in class NodeTest
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |