Class DOMManifest
java.lang.Object
org.apache.jcp.xml.dsig.internal.dom.DOMStructure
org.apache.jcp.xml.dsig.internal.dom.DOMManifest
- All Implemented Interfaces:
Manifest
,XMLStructure
DOM-based implementation of Manifest.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDOMManifest
(List<? extends Reference> references, String id) Creates aDOMManifest
containing the specified list ofReference
s and optional id.DOMManifest
(Element manElem, XMLCryptoContext context, Provider provider) Creates aDOMManifest
from an element. -
Method Summary
Methods inherited from class org.apache.jcp.xml.dsig.internal.dom.DOMStructure
isFeatureSupported
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.xml.crypto.XMLStructure
isFeatureSupported
-
Field Details
-
references
-
id
-
-
Constructor Details
-
DOMManifest
Creates aDOMManifest
containing the specified list ofReference
s and optional id.- Parameters:
references
- a list of one or moreReference
s. The list is defensively copied to protect against subsequent modification.id
- the id (may benull
- Throws:
NullPointerException
- ifreferences
isnull
IllegalArgumentException
- ifreferences
is emptyClassCastException
- ifreferences
contains any entries that are not of typeReference
-
DOMManifest
public DOMManifest(Element manElem, XMLCryptoContext context, Provider provider) throws MarshalException Creates aDOMManifest
from an element.- Parameters:
manElem
- a Manifest element- Throws:
MarshalException
-
-
Method Details
-
getId
-
getManifestReferences
-
getReferences
- Specified by:
getReferences
in interfaceManifest
-
marshal
- Specified by:
marshal
in classDOMStructure
- Throws:
MarshalException
-
equals
-
hashCode
public int hashCode()
-