APIdia Launch Partner
Top Description Methods
javax.xml.crypto

public Interface URIDereferencer

Known Direct Implementers
org.jcp.xml.dsig.internal.dom.DOMURIDereferencer

A dereferencer of URIReferences.

The result of dereferencing a URIReference is either an instance of OctetStreamData or NodeSetData. Unless the URIReference is a same-document reference as defined in section 4.2 of the W3C Recommendation for XML-Signature Syntax and Processing, the result of dereferencing the URIReference MUST be an OctetStreamData.

Authors
Sean Mullan, Joyce Leung, JSR 105 Expert Group
Since
1.6
See Also
XMLCryptoContext#setURIDereferencer(URIDereferencer), XMLCryptoContext#getURIDereferencer

Method Summary

Modifier and TypeMethod and Description
public Data

Returns:

the dereferenced data
dereference
(URIReference
the URIReference
uriReference
,
XMLCryptoContext
an XMLCryptoContext that may contain additional useful information for dereferencing the URI. This implementation should dereference the specified URIReference against the context's baseURI parameter, if specified.
context
)

Dereferences the specified URIReference and returns the dereferenced data.

Method Detail

dereferenceback to summary
public Data dereference(URIReference uriReference, XMLCryptoContext context) throws URIReferenceException

Dereferences the specified URIReference and returns the dereferenced data.

Parameters
uriReference:URIReference

the URIReference

context:XMLCryptoContext

an XMLCryptoContext that may contain additional useful information for dereferencing the URI. This implementation should dereference the specified URIReference against the context's baseURI parameter, if specified.

Returns:Data

the dereferenced data

Exceptions
URIReferenceException:
if an exception occurs while dereferencing the specified uriReference
NullPointerException:
if uriReference or context are null