Class ReferenceResource

  • All Implemented Interfaces:
    Resource

    public class ReferenceResource
    extends AbstractResource
    A class that represents a reference to another resource via its URI.
    Author:
    Garret Wilson
    • Constructor Detail

      • ReferenceResource

        public ReferenceResource​(java.net.URI uri)
        URI constructor.
        Parameters:
        uri - The resource identifier URI.
        Throws:
        java.lang.NullPointerException - if the given URI is null.
    • Method Detail

      • getURI

        public java.net.URI getURI()
        Returns:
        The resource identifier URI, or null if the identifier is not known.