Class UnionQNameTest

  • All Implemented Interfaces:
    java.io.Serializable, QNameTest

    public class UnionQNameTest
    extends java.lang.Object
    implements QNameTest
    A QNameTest that is the union of a number of supplied QNameTests
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.List<QNameTest> tests  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean matches​(StructuredQName qname)
      Test whether the QNameTest matches a given QName
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnionQNameTest

        public UnionQNameTest​(java.util.List<QNameTest> tests)
    • Method Detail

      • matches

        public boolean matches​(StructuredQName qname)
        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