|
|||||||||||
| 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.NodeNameTest
jd.xml.xpath.axis.name.QNameTest
A NodeTest to filter nodes that match a qualified name.
| Field Summary |
| Fields inherited from class jd.xml.xpath.axis.NodeNameTest |
ALL |
| Fields inherited from class jd.xml.xpath.axis.NodeTest |
EXACT, NO, WILDCARD |
| Constructor Summary | |
QNameTest(String namespaceUri,
String prefix,
String localName)
Create a QNameTest. |
|
| Method Summary | |
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.0. |
int |
matchNames()
Return EXACT. |
String |
toString()
Return a string representation. |
| Methods inherited from class jd.xml.xpath.axis.NodeNameTest |
getTest |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public QNameTest(String namespaceUri,
String prefix,
String localName)
| Method Detail |
public boolean accept(XPathNode node,
int principalType)
accept in class NodeTestnode - the tested nodeprincipalType - the principal node type as determined by the associated axispublic int matchNames()
matchNames in class NodeNameTestpublic double calculatePriority()
calculatePriority in class NodeTestpublic void accept(NodeTestVisitor visitor)
accept in class NodeTestpublic String toString()
toString in class NodeTest
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||