org.jcp.xml.dsig.internal.dom
public final class DOMManifest extends DOMStructure implements Manifest
| Constructor and Description |
|---|
DOMManifest(org.w3c.dom.Element manElem,
XMLCryptoContext context,
java.security.Provider provider)
Creates a
DOMManifest from an element. |
DOMManifest(java.util.List references,
java.lang.String id)
Creates a
DOMManifest containing the specified
list of References and optional id. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getId()
Returns the Id of this
Manifest. |
java.util.List |
getReferences()
|
int |
hashCode() |
void |
marshal(org.w3c.dom.Node parent,
java.lang.String dsPrefix,
DOMCryptoContext context) |
isFeatureSupportedclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFeatureSupportedpublic DOMManifest(java.util.List references,
java.lang.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 nulljava.lang.NullPointerException - if references is
nulljava.lang.IllegalArgumentException - if references is emptyjava.lang.ClassCastException - if references contains any
entries that are not of type Referencepublic DOMManifest(org.w3c.dom.Element manElem,
XMLCryptoContext context,
java.security.Provider provider)
throws MarshalException
DOMManifest from an element.manElem - a Manifest elementMarshalExceptionpublic java.lang.String getId()
ManifestManifest.public java.util.List getReferences()
ManifestgetReferences in interface ManifestReferencespublic void marshal(org.w3c.dom.Node parent,
java.lang.String dsPrefix,
DOMCryptoContext context)
throws MarshalException
marshal in class DOMStructureMarshalExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.