public final class DOMManifest extends BaseStructure implements Manifest
| Constructor and Description |
|---|
DOMManifest(Element manElem,
XMLCryptoContext context,
Provider provider)
Creates a
DOMManifest from an element. |
DOMManifest(List<DOMReference> 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() |
static void |
marshal(XmlWriter xwriter,
Manifest manif,
String dsPrefix,
XMLCryptoContext context) |
isFeatureSupported, textOfNodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFeatureSupportedpublic DOMManifest(List<DOMReference> 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 static void marshal(XmlWriter xwriter, Manifest manif, String dsPrefix, XMLCryptoContext context) throws MarshalException
MarshalExceptionCopyright © 2000–2016 The Apache Software Foundation. All rights reserved.