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 Reference s 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) |
isFeatureSupported
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isFeatureSupported
public DOMManifest(java.util.List references, java.lang.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
java.lang.NullPointerException
- if references
is
null
java.lang.IllegalArgumentException
- if references
is emptyjava.lang.ClassCastException
- if references
contains any
entries that are not of type Reference
public DOMManifest(org.w3c.dom.Element manElem, XMLCryptoContext context, java.security.Provider provider) throws MarshalException
DOMManifest
from an element.manElem
- a Manifest elementMarshalException
public java.lang.String getId()
Manifest
Manifest
.public java.util.List getReferences()
Manifest
getReferences
in interface Manifest
Reference
spublic void marshal(org.w3c.dom.Node parent, java.lang.String dsPrefix, DOMCryptoContext context) throws MarshalException
marshal
in class DOMStructure
MarshalException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2000-2014 The Apache Software Foundation. All Rights Reserved.