Class QualifiedName


  • public class QualifiedName
    extends java.lang.Object
    A qualified name consisting of a namespace and a simple name.
    • Method Detail

      • of

        public static QualifiedName of​(Namespace namespace,
                                       java.lang.String simpleName)
        Create the qualified name for the supplied namespace and name.
        Parameters:
        namespace - the namespace
        simpleName - the simple name
        Returns:
        namespace with the supplied URI
      • getNamespace

        public Namespace getNamespace()
        Returns:
        the namespace of this qualified name
      • getSimpleName

        public java.lang.String getSimpleName()
        Returns:
        the simple name of this qualified name
      • equals

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

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