Interface OMNamespace

  • All Known Implementing Classes:
    OMNamespaceImpl

    public interface OMNamespace
    Interface OMNamespace.

    Implementations of this interface must be immutable or behave as if they were immutable, i.e. getPrefix() and getNamespaceURI() must always return the same values when invoked on the same instance.

    • Method Detail

      • equals

        boolean equals​(String uri,
                       String prefix)
        Method equals.
        Parameters:
        uri -
        prefix -
        Returns:
        Returns boolean.
      • getPrefix

        String getPrefix()
        Method getPrefix.
        Returns:
        Returns String.
      • getName

        String getName()
        Deprecated.
        This method is deprecated. Please use getNamespaceURI() method instead.
        Method getName.
        Returns:
        Returns String.
      • getNamespaceURI

        String getNamespaceURI()
        Provides the namespace URI of this namespace.
        Returns:
        - the namespace URI of the namespace.