Class UName


  • public final class UName
    extends java.lang.Object
    UName.
    Author:
    Kohsuke Kawaguchi (kk@kohsuke.org)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.Comparator comparator
      Compares UNames by their names.
    • Constructor Summary

      Constructors 
      Constructor Description
      UName​(XSDeclaration decl)  
      UName​(java.lang.String nsUri, java.lang.String localName)  
      UName​(java.lang.String _nsUri, java.lang.String _localName, java.lang.String _qname)  
    • Field Detail

      • comparator

        public static final java.util.Comparator comparator
        Compares UNames by their names.
    • Constructor Detail

      • UName

        public UName​(java.lang.String _nsUri,
                     java.lang.String _localName,
                     java.lang.String _qname)
        Parameters:
        _nsUri - Use "" to indicate the no namespace.
      • UName

        public UName​(java.lang.String nsUri,
                     java.lang.String localName)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getNamespaceURI

        public java.lang.String getNamespaceURI()
      • getQualifiedName

        public java.lang.String getQualifiedName()
      • 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