Interface URI

    • Method Detail

      • toString

        String toString()
        Deprecated.
        Returns the String-representation of this URI.
        Overrides:
        toString in class Object
        Returns:
        The String-representation of this URI.
      • getNamespace

        String getNamespace()
        Deprecated.
        Gets the namespace part of this URI. The namespace is defined as per the algorithm described in the class documentation.
        Returns:
        The URI's namespace.
      • getLocalName

        String getLocalName()
        Deprecated.
        Gets the local name part of this URI. The local name is defined as per the algorithm described in the class documentation.
        Returns:
        The URI's local name.
      • equals

        boolean equals​(Object o)
        Deprecated.
        Compares a URI object to another object.
        Overrides:
        equals in class Object
        Parameters:
        o - The object to compare this URI to.
        Returns:
        true if the other object is an instance of URI and their String-representations are equal, false otherwise.
      • hashCode

        int hashCode()
        Deprecated.
        The hash code of an URI is defined as the hash code of its String-representation: toString().hashCode.
        Overrides:
        hashCode in class Object
        Returns:
        A hash code for the URI.