javax.xml.crypto.dsig.SignatureProperty, javax.xml.crypto.XMLStructurepublic final class DOMSignatureProperty extends BaseStructure implements javax.xml.crypto.dsig.SignatureProperty
| Constructor | Description |
|---|---|
DOMSignatureProperty(java.util.List<? extends javax.xml.crypto.XMLStructure> content,
java.lang.String target,
java.lang.String id) |
Creates a
SignatureProperty from the specified parameters. |
DOMSignatureProperty(org.w3c.dom.Element propElem) |
Creates a
DOMSignatureProperty from an element. |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
|
java.util.List<javax.xml.crypto.XMLStructure> |
getContent() |
|
java.lang.String |
getId() |
|
java.lang.String |
getTarget() |
|
int |
hashCode() |
|
static void |
marshal(XmlWriter xwriter,
javax.xml.crypto.dsig.SignatureProperty sigProp,
java.lang.String dsPrefix,
javax.xml.crypto.XMLCryptoContext context) |
isFeatureSupported, textOfNodepublic DOMSignatureProperty(java.util.List<? extends javax.xml.crypto.XMLStructure> content,
java.lang.String target,
java.lang.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)java.lang.ClassCastException - if content contains any
entries that are not of type XMLStructurejava.lang.IllegalArgumentException - if content is emptyjava.lang.NullPointerException - if content or
target is nullpublic DOMSignatureProperty(org.w3c.dom.Element propElem)
throws javax.xml.crypto.MarshalException
DOMSignatureProperty from an element.propElem - a SignatureProperty elementjavax.xml.crypto.MarshalExceptionpublic java.util.List<javax.xml.crypto.XMLStructure> getContent()
getContent in interface javax.xml.crypto.dsig.SignaturePropertypublic java.lang.String getId()
getId in interface javax.xml.crypto.dsig.SignaturePropertypublic java.lang.String getTarget()
getTarget in interface javax.xml.crypto.dsig.SignaturePropertypublic static void marshal(XmlWriter xwriter, javax.xml.crypto.dsig.SignatureProperty sigProp, java.lang.String dsPrefix, javax.xml.crypto.XMLCryptoContext context) throws javax.xml.crypto.MarshalException
javax.xml.crypto.MarshalExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object