Class URNURIFactory

  • All Implemented Interfaces:
    URIFactory

    public final class URNURIFactory
    extends Object
    implements URIFactory
    A URIFactory that handles "urn" scheme of URIs.
    • Constructor Detail

      • URNURIFactory

        public URNURIFactory()
    • Method Detail

      • create

        public URI create​(String uri)
        Specified by:
        create in interface URIFactory
        Parameters:
        uri - Some uri string.
        Returns:
        The converted URI.
      • create

        public URI create​(URI baseURI,
                          String segment)
        Specified by:
        create in interface URIFactory
        Parameters:
        baseURI - The base URI.
        segment - The segment to add to the base URI.
        Returns:
        The combined URI.