javax.xml.crypto
Interface URIReference
-
- All Known Subinterfaces:
- CipherReference, DataReference, DOMURIReference, KeyReference, Reference, ReferenceType, 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.- See Also:
URIDereferencer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.StringgetType()Returns the type of data referenced by this URI.java.lang.StringgetURI()Returns the URI of the referenced data object.
-
-
-
Method Detail
-
getURI
java.lang.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
java.lang.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)
-
-