Class AnyNameExceptNameClass

    • Constructor Detail

      • AnyNameExceptNameClass

        public AnyNameExceptNameClass​(NameClass nameClass)
    • Method Detail

      • contains

        public boolean contains​(javax.xml.namespace.QName name)
        Description copied from class: NameClass
        Returns true if the given QName is a valid name for this QName.
        Specified by:
        contains in class NameClass
      • containsSpecificity

        public int containsSpecificity​(javax.xml.namespace.QName name)
        Specified by:
        containsSpecificity in class NameClass
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • isOpen

        public boolean isOpen()
        Description copied from class: NameClass
        Returns true if the name class accepts infinite number of QNames.

        Intuitively, this method returns true if the name class is some sort of wildcard.

        Specified by:
        isOpen in class NameClass