Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

javax.xml.crypto
Interface URIDereferencer


public interface URIDereferencer

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.

Since:
1.6
See Also:
XMLCryptoContext.setURIDereferencer(URIDereferencer), XMLCryptoContext.getURIDereferencer()

Method Summary
Modifier and Type Method and Description
 Data dereference(URIReference uriReference, XMLCryptoContext context)
          Dereferences the specified URIReference and returns the dereferenced data.
 

Method Detail

dereference

Data dereference(URIReference uriReference,
                 XMLCryptoContext context)
                 throws URIReferenceException
Dereferences the specified URIReference and returns the dereferenced data.

Parameters:
uriReference - the URIReference
context - 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:
the dereferenced data
Throws:
NullPointerException - if uriReference or context are null
URIReferenceException - if an exception occurs while dereferencing the specified uriReference

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.