-
- All Known Subinterfaces:
DOMURIReference,Reference,RetrievalMethod
public interface URIReferenceIdentifies a data object via a URI-Reference, as specified by RFC 2396.Note that some subclasses may not have a
typeattribute and for objects of those types, thegetType()method always returnsnull.- Since:
- 1.6
- See Also:
URIDereferencer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetType()Returns the type of data referenced by this URI.StringgetURI()Returns the URI of the referenced data object.
-
-
-
Method Detail
-
getURI
String getURI()
Returns the URI of the referenced data object.- Returns:
- the URI of the data object in RFC 2396 format (may be
nullif not specified)
-
getType
String getType()
Returns the type of data referenced by this URI.- Returns:
- the type (a URI) of the data object (may be
nullif not specified)
-
-