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 Reference s 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, isFeatureSupported
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isFeatureSupported
public DOMManifest(List<? extends Reference> references, String id)
DOMManifest
containing the specified
list of Reference
s and optional id.references
- a list of one or more Reference
s. The list
is defensively copied to protect against subsequent modification.id
- the id (may be null
NullPointerException
- if references
is
null
IllegalArgumentException
- if references
is emptyClassCastException
- if references
contains any
entries that are not of type Reference
public DOMManifest(Element manElem, XMLCryptoContext context, Provider provider) throws MarshalException
DOMManifest
from an element.manElem
- a Manifest elementMarshalException
public List<Reference> getReferences()
getReferences
in interface Manifest
public void marshal(Node parent, String dsPrefix, DOMCryptoContext context) throws MarshalException
marshal
in class DOMStructure
MarshalException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.