public final class DOMRetrievalMethod extends DOMStructure implements RetrievalMethod, DOMURIReference
| Constructor and Description |
|---|
DOMRetrievalMethod(Element rmElem,
XMLCryptoContext context,
Provider provider)
Creates a
DOMRetrievalMethod from an element. |
DOMRetrievalMethod(String uri,
String type,
List<? extends Transform> transforms)
Creates a
DOMRetrievalMethod containing the specified
URIReference and List of Transforms. |
| Modifier and Type | Method and Description |
|---|---|
Data |
dereference(XMLCryptoContext context) |
XMLStructure |
dereferenceAsXMLStructure(XMLCryptoContext context) |
boolean |
equals(Object obj) |
Node |
getHere() |
List<Transform> |
getTransforms() |
String |
getType() |
String |
getURI() |
int |
hashCode() |
void |
marshal(Node parent,
String dsPrefix,
DOMCryptoContext context) |
equalsContent, isFeatureSupportedclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFeatureSupportedpublic DOMRetrievalMethod(String uri, String type, List<? extends Transform> transforms)
DOMRetrievalMethod containing the specified
URIReference and List of Transforms.uri - the URItype - the typetransforms - a list of Transforms. The list is defensively
copied to prevent subsequent modification. May be null
or empty.IllegalArgumentException - if the format of uri is
invalid, as specified by Reference's URI attribute in the W3C
specification for XML-Signature Syntax and ProcessingNullPointerException - if uriReference
is nullClassCastException - if transforms contains any
entries that are not of type Transformpublic DOMRetrievalMethod(Element rmElem, XMLCryptoContext context, Provider provider) throws MarshalException
DOMRetrievalMethod from an element.rmElem - a RetrievalMethod elementMarshalExceptionpublic String getURI()
getURI in interface RetrievalMethodgetURI in interface URIReferencepublic String getType()
getType in interface URIReferencepublic List<Transform> getTransforms()
getTransforms in interface RetrievalMethodpublic void marshal(Node parent, String dsPrefix, DOMCryptoContext context) throws MarshalException
marshal in class DOMStructureMarshalExceptionpublic Node getHere()
getHere in interface DOMURIReferencepublic Data dereference(XMLCryptoContext context) throws URIReferenceException
dereference in interface RetrievalMethodURIReferenceExceptionpublic XMLStructure dereferenceAsXMLStructure(XMLCryptoContext context) throws URIReferenceException
URIReferenceExceptionCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.