public final class DOMManifest extends DOMStructure implements Manifest
| Constructor and Description |
|---|
DOMManifest(Element manElem,
XMLCryptoContext context,
Provider provider)
Creates a
DOMManifest from an element. |
DOMManifest(List<? extends Reference> references,
String id)
Creates a
DOMManifest containing the specified
list of References and optional id. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getId() |
static List<Reference> |
getManifestReferences(Manifest mf) |
List<Reference> |
getReferences() |
int |
hashCode() |
void |
marshal(Node parent,
String dsPrefix,
DOMCryptoContext context) |
equalsContent, isFeatureSupportedclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFeatureSupportedpublic DOMManifest(List<? extends Reference> references, String id)
DOMManifest containing the specified
list of References and optional id.references - a list of one or more References. The list
is defensively copied to protect against subsequent modification.id - the id (may be nullNullPointerException - if references is
nullIllegalArgumentException - if references is emptyClassCastException - if references contains any
entries that are not of type Referencepublic DOMManifest(Element manElem, XMLCryptoContext context, Provider provider) throws MarshalException
DOMManifest from an element.manElem - a Manifest elementMarshalExceptionpublic List<Reference> getReferences()
getReferences in interface Manifestpublic void marshal(Node parent, String dsPrefix, DOMCryptoContext context) throws MarshalException
marshal in class DOMStructureMarshalExceptionCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.