jd.xml.xpath.axis
Class NodeNameTest
java.lang.Object
jd.xml.xpath.axis.NodeTest
jd.xml.xpath.axis.NodeNameTest
- Direct Known Subclasses:
- AllNameTest, NcNameTest, PooledNameTest, PooledUriTest, QNameTest, UriTest
- public abstract class NodeNameTest
- extends NodeTest
A NodeTest to filter nodes with certain names.
ALL
public static final NodeNameTest ALL
NodeNameTest
public NodeNameTest()
getTest
public static NodeNameTest getTest(String uri,
String qname,
String prefix,
String localName,
NodeNamePool pool)
- Create a NodeNameTest
- Parameters:
uri - the uri, can be nullprefix - the prefix (only used to build the string representation
of the test)localName - the localName, can be null
matchNames
public int matchNames()
- Return WILDCARD.
- Specified by:
matchNames in class NodeTest
- See Also:
NodeTest.NO,
NodeTest.WILDCARD,
NodeTest.EXACT