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
-
Constructor Summary
ConstructorsConstructorDescriptionDOMManifest(List<? extends Reference> references, String id) Creates aDOMManifestcontaining the specified list ofReferences and optional id.DOMManifest(Element manElem, XMLCryptoContext context, Provider provider) Creates aDOMManifestfrom an element. -
Method Summary
Methods inherited from class org.apache.jcp.xml.dsig.internal.dom.DOMStructure
isFeatureSupportedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.xml.crypto.XMLStructure
isFeatureSupported
-
Constructor Details
-
DOMManifest
Creates aDOMManifestcontaining the specified list ofReferences and optional id.- Parameters:
references- a list of one or moreReferences. The list is defensively copied to protect against subsequent modification.id- the id (may benull- Throws:
NullPointerException- ifreferencesisnullIllegalArgumentException- ifreferencesis emptyClassCastException- ifreferencescontains any entries that are not of typeReference
-
DOMManifest
public DOMManifest(Element manElem, XMLCryptoContext context, Provider provider) throws MarshalException Creates aDOMManifestfrom an element.- Parameters:
manElem- a Manifest element- Throws:
MarshalException
-
-
Method Details
-
getId
-
getManifestReferences
-
getReferences
- Specified by:
getReferencesin interfaceManifest
-
marshal
- Specified by:
marshalin classDOMStructure- Throws:
MarshalException
-
equals
-
hashCode
public int hashCode()
-