Class NoQNameTest

java.lang.Object
net.sf.saxon.pattern.qname.NoQNameTest
All Implemented Interfaces:
QNameTest

public class NoQNameTest extends Object implements QNameTest
  • Method Details

    • getInstance

      public static NoQNameTest getInstance()
    • matches

      public boolean matches(StructuredQName qname)
      Description copied from interface: QNameTest
      Test whether the QNameTest matches a given QName
      Specified by:
      matches in interface QNameTest
      Parameters:
      qname - the QName to be matched
      Returns:
      true if the name matches, false if not
    • relationship

      public Affinity relationship(QNameTest other)
      Description copied from interface: QNameTest
      Determine the relationship of this QNameTest to another QNameTest: one of (same, subsumes, subsumed-by, overlaps, disjoint)
      Specified by:
      relationship in interface QNameTest
    • exportQNameTest

      public String exportQNameTest()
      Description copied from interface: QNameTest
      Export the QNameTest as a string for use in a SEF file (typically in a catch clause).
      Specified by:
      exportQNameTest in interface QNameTest
      Returns:
      a string representation of the QNameTest, suitable for use in export files. The format is a sequence of alternatives, space-separated, where each alternative is one of '*', '*:localname', 'Q{uri}*', or 'Q{uri}local'.