net.sf.saxon.pattern

## Interface QNameTest

- All Superinterfaces:
    Serializable
  All Known Implementing Classes:
    AnyNodeTest, LocalNameTest, NamespaceTest, NameTest, UnionQNameTest

      public interface QNameTest
      extends Serializable

  Interface for tests against a QName. This is implemented by a subset of NodeTests, specifically those that are only concerned with testing a name. It is used for matching error codes against the codes specified in a try/catch clause.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `matches(StructuredQName qname)` Test whether the QNameTest matches a given QName

- - ### 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

Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.