com.icl.saxon
Interface NameTest

All Known Implementing Classes:
PrefixTest, AnyNameTest, Name

public interface NameTest

NameTest is an interface that enables a test of whether a node has a particular name. There are three kinds of name test, a full name test, a prefix test, and an "any node" test.


Method Summary
 double getDefaultPriority()
          Determine the default priority of this name test when used on its own as a Pattern
 boolean isNameOf(NodeInfo node)
          Test whether this name test is satisfied by a given node
 

Method Detail

isNameOf

public boolean isNameOf(NodeInfo node)
                 throws org.xml.sax.SAXException
Test whether this name test is satisfied by a given node

getDefaultPriority

public double getDefaultPriority()
Determine the default priority of this name test when used on its own as a Pattern