javax.xml.crypto.dsig.Manifest, javax.xml.crypto.XMLStructurepublic final class DOMManifest extends BaseStructure implements javax.xml.crypto.dsig.Manifest
| Constructor | Description |
|---|---|
DOMManifest(java.util.List<DOMReference> references,
java.lang.String id) |
Creates a
DOMManifest containing the specified
list of References and optional id. |
DOMManifest(org.w3c.dom.Element manElem,
javax.xml.crypto.XMLCryptoContext context,
java.security.Provider provider) |
Creates a
DOMManifest from an element. |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
|
java.lang.String |
getId() |
|
static java.util.List<javax.xml.crypto.dsig.Reference> |
getManifestReferences(javax.xml.crypto.dsig.Manifest mf) |
|
java.util.List<javax.xml.crypto.dsig.Reference> |
getReferences() |
|
int |
hashCode() |
|
static void |
marshal(XmlWriter xwriter,
javax.xml.crypto.dsig.Manifest manif,
java.lang.String dsPrefix,
javax.xml.crypto.XMLCryptoContext context) |
isFeatureSupported, textOfNodepublic DOMManifest(java.util.List<DOMReference> 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,
javax.xml.crypto.XMLCryptoContext context,
java.security.Provider provider)
throws javax.xml.crypto.MarshalException
DOMManifest from an element.manElem - a Manifest elementjavax.xml.crypto.MarshalExceptionpublic java.lang.String getId()
getId in interface javax.xml.crypto.dsig.Manifestpublic static java.util.List<javax.xml.crypto.dsig.Reference> getManifestReferences(javax.xml.crypto.dsig.Manifest mf)
public java.util.List<javax.xml.crypto.dsig.Reference> getReferences()
getReferences in interface javax.xml.crypto.dsig.Manifestpublic static void marshal(XmlWriter xwriter, javax.xml.crypto.dsig.Manifest manif, java.lang.String dsPrefix, javax.xml.crypto.XMLCryptoContext context) throws javax.xml.crypto.MarshalException
javax.xml.crypto.MarshalExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object