Class NsNameExceptNameClass

    • Field Summary

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <V> V accept​(NameClassVisitor<V> visitor)
      Visitor pattern support.
      boolean contains​(javax.xml.namespace.QName name)
      Returns true if the given QName is a valid name for this QName.
      int containsSpecificity​(javax.xml.namespace.QName name)  
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      boolean isOpen()
      Returns true if the name class accepts infinite number of QNames.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NsNameExceptNameClass

        public NsNameExceptNameClass​(java.lang.String namespaceURI,
                                     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