Class OMNamespaceImpl

    • Constructor Detail

      • OMNamespaceImpl

        public OMNamespaceImpl​(String uri,
                               String prefix)
        Parameters:
        uri -
        prefix -
    • Method Detail

      • equals

        public boolean equals​(String uri,
                              String prefix)
        Method equals.
        Specified by:
        equals in interface OMNamespace
        Parameters:
        uri -
        prefix -
        Returns:
        Returns boolean.
      • getPrefix

        public String getPrefix()
        Method getPrefix.
        Specified by:
        getPrefix in interface OMNamespace
        Returns:
        Returns String.
      • getName

        public String getName()
        Method getName.
        Specified by:
        getName in interface OMNamespace
        Returns:
        Returns String.
      • getNamespaceURI

        public String getNamespaceURI()
        Description copied from interface: OMNamespace
        Provides the namespace URI of this namespace.
        Specified by:
        getNamespaceURI in interface OMNamespace
        Returns:
        - the namespace URI of the namespace.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object