jd.xml.xpath.axis
Class NodeNameTest

java.lang.Object
  extended byjd.xml.xpath.axis.NodeTest
      extended byjd.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.


Field Summary
static NodeNameTest ALL
           
 
Fields inherited from class jd.xml.xpath.axis.NodeTest
EXACT, NO, WILDCARD
 
Constructor Summary
NodeNameTest()
           
 
Method Summary
static NodeNameTest getTest(String uri, String qname, String prefix, String localName, NodeNamePool pool)
          Create a NodeNameTest
 int matchNames()
          Return WILDCARD.
 
Methods inherited from class jd.xml.xpath.axis.NodeTest
accept, accept, calculatePriority, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ALL

public static final NodeNameTest ALL
Constructor Detail

NodeNameTest

public NodeNameTest()
Method Detail

getTest

public static NodeNameTest getTest(String uri,
                                   String qname,
                                   String prefix,
                                   String localName,
                                   NodeNamePool pool)
Create a NodeNameTest

Parameters:
uri - the uri, can be null
prefix - 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