Class DOMSignatureProperty
java.lang.Object
org.apache.jcp.xml.dsig.internal.dom.DOMStructure
org.apache.jcp.xml.dsig.internal.dom.DOMSignatureProperty
- All Implemented Interfaces:
SignatureProperty
,XMLStructure
DOM-based implementation of SignatureProperty.
-
Constructor Summary
ConstructorsConstructorDescriptionDOMSignatureProperty
(List<? extends XMLStructure> content, String target, String id) Creates aSignatureProperty
from the specified parameters.DOMSignatureProperty
(Element propElem) Creates aDOMSignatureProperty
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
-
Constructor Details
-
DOMSignatureProperty
Creates aSignatureProperty
from the specified parameters.- Parameters:
content
- a list of one or moreXMLStructure
s. The list is defensively copied to protect against subsequent modification.target
- the target URIid
- the Id (may benull
)- Throws:
ClassCastException
- ifcontent
contains any entries that are not of typeXMLStructure
IllegalArgumentException
- ifcontent
is emptyNullPointerException
- ifcontent
ortarget
isnull
-
DOMSignatureProperty
Creates aDOMSignatureProperty
from an element.- Parameters:
propElem
- a SignatureProperty element- Throws:
MarshalException
-
-
Method Details
-
getContent
- Specified by:
getContent
in interfaceSignatureProperty
-
getId
- Specified by:
getId
in interfaceSignatureProperty
-
getTarget
- Specified by:
getTarget
in interfaceSignatureProperty
-
marshal
- Specified by:
marshal
in classDOMStructure
- Throws:
MarshalException
-
equals
-
hashCode
public int hashCode()
-