Package com.globalmentor.net
Class ReferenceResource
java.lang.Object
com.globalmentor.net.AbstractResource
com.globalmentor.net.ReferenceResource
- All Implemented Interfaces:
Resource
A class that represents a reference to another resource via its URI.
- Author:
- Garret Wilson
-
Field Summary
Fields inherited from interface com.globalmentor.net.Resource
URI_PROPERTY_NAME
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ReferenceResource
URI constructor.- Parameters:
uri
- The resource identifier URI.- Throws:
NullPointerException
- if the given URI isnull
.
-
-
Method Details
-
getURI
- Returns:
- The resource identifier URI, or
null
if the identifier is not known.
-