public final class DOMSignatureProperty extends DOMStructure implements SignatureProperty
| Constructor and Description |
|---|
DOMSignatureProperty(Element propElem)
Creates a
DOMSignatureProperty from an element. |
DOMSignatureProperty(List<? extends XMLStructure> content,
String target,
String id)
Creates a
SignatureProperty from the specified parameters. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<XMLStructure> |
getContent() |
String |
getId() |
String |
getTarget() |
int |
hashCode() |
void |
marshal(Node parent,
String dsPrefix,
DOMCryptoContext context) |
equalsContent, isFeatureSupportedclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFeatureSupportedpublic DOMSignatureProperty(List<? extends XMLStructure> content, String target, String id)
SignatureProperty from the specified parameters.content - a list of one or more XMLStructures. The list
is defensively copied to protect against subsequent modification.target - the target URIid - the Id (may be null)ClassCastException - if content contains any
entries that are not of type XMLStructureIllegalArgumentException - if content is emptyNullPointerException - if content or
target is nullpublic DOMSignatureProperty(Element propElem) throws MarshalException
DOMSignatureProperty from an element.propElem - a SignatureProperty elementMarshalExceptionpublic List<XMLStructure> getContent()
getContent in interface SignaturePropertypublic String getId()
getId in interface SignaturePropertypublic String getTarget()
getTarget in interface SignaturePropertypublic void marshal(Node parent, String dsPrefix, DOMCryptoContext context) throws MarshalException
marshal in class DOMStructureMarshalExceptionCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.