Interface Namespace

    • Method Detail

      • getPrefix

        String getPrefix()
        Gets the prefix of the current namespace. The default namespace is represented by an empty prefix string.
        Returns:
        prefix of namespace, or an empty string in case of the default namespace.
      • getName

        String getName()
        Gets the name of the current namespace (i.e. its IRI).
        Returns:
        name of namespace
      • equals

        boolean equals​(Object o)
        Compares this namespace to another object.
        Overrides:
        equals in class Object
        Parameters:
        o - The object to compare this namespace to
        Returns:
        true if the other object is an instance of Namespace and their prefixes and names are equal, false otherwise.