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()
Returns the Id of this
Manifest . |
List |
getReferences()
|
int |
hashCode() |
void |
marshal(Node parent,
String dsPrefix,
DOMCryptoContext context) |
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 String getId()
Manifest
Manifest
.public List getReferences()
Manifest
getReferences
in interface Manifest
Reference
spublic void marshal(Node parent, String dsPrefix, DOMCryptoContext context) throws MarshalException
marshal
in class DOMStructure
MarshalException
Copyright © 2000–2017 The Apache Software Foundation. All rights reserved.