Interface QNameTest

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    AnyNodeTest, LocalNameTest, NamespaceTest, NameTest, UnionQNameTest

    public interface QNameTest
    extends java.io.Serializable
    Interface for tests against a QName. This is implemented by a subset of NodeTests, specifically those that are only concerned with testing the name of the node
    • Method Detail

      • matches

        boolean matches​(StructuredQName qname)
        Test whether the QNameTest matches a given QName
        Parameters:
        qname - the QName to be matched
        Returns:
        true if the name matches, false if not