Class SimpleIRI

    • Constructor Detail

      • SimpleIRI

        protected SimpleIRI()
        Creates a new, un-initialized IRI. This IRI's string value needs to be set before the normal methods can be used.
    • Method Detail

      • setIRIString

        protected void setIRIString​(String iriString)
      • getNamespace

        public String getNamespace()
        Description copied from interface: IRI
        Gets the namespace part of this IRI.

        The namespace is defined as per the algorithm described in the class documentation.

        Returns:
        the namespace of this IRI
      • getLocalName

        public String getLocalName()
        Description copied from interface: IRI
        Gets the local name part of this IRI.

        The local name is defined as per the algorithm described in the class documentation.

        Returns:
        the local name of this IRI