|
XML Security, 1.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.xml.enc.dom.DOMStructure
com.ibm.xml.enc.dom.DOMEncryptionProperty
public final class DOMEncryptionProperty
DOM-based implementation of EncryptionProperty.
| Constructor Summary | |
|---|---|
DOMEncryptionProperty(org.w3c.dom.Element encPropElem)
Creates an EncryptionProperty from an element. |
|
DOMEncryptionProperty(java.util.List content,
java.lang.String target,
java.lang.String id,
java.util.Map attributes)
Creates an EncryptionProperty from the specified parameters. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.util.Map |
getAttributes()
Returns an unmodifiable map of attributes from the XML namespace, where the keys are the name of the attributes (ex: xml:space,
xml:lang, xml:base). |
java.util.List |
getContent()
Returns an unmodifiable list of XMLStructures. |
java.lang.String |
getId()
Returns the optional ID. |
java.lang.String |
getTarget()
Returns the target URI of the EncryptedType structure
that this property describes. |
void |
marshal(org.w3c.dom.Node parent,
java.lang.String encPrefix,
DOMCryptoContext context)
|
| Methods inherited from class com.ibm.xml.enc.dom.DOMStructure |
|---|
isFeatureSupported |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.xml.crypto.XMLStructure |
|---|
isFeatureSupported |
| Constructor Detail |
|---|
public DOMEncryptionProperty(java.util.List content,
java.lang.String target,
java.lang.String id,
java.util.Map attributes)
EncryptionProperty from the specified parameters.
content - a list of XMLStructures. The list
is defensively copied to protect against subsequent modification.
May be null or empty.id - the Id (may be null)target - the encrypted type structure being described (may be null)attributes - an unmodifiable map of attributes from the XML namespace (may be null)
java.lang.ClassCastException - if content contains any
entries that are not of type XMLStructure
public DOMEncryptionProperty(org.w3c.dom.Element encPropElem)
throws MarshalException
EncryptionProperty from an element.
encPropElem - an EncryptionProperty element
MarshalException - if there is an error when unmarshalling| Method Detail |
|---|
public java.util.List getContent()
EncryptionPropertyXMLStructures.
getContent in interface EncryptionPropertyXMLStructures
(never null or empty)public java.lang.String getId()
EncryptionPropertyID.
getId in interface EncryptionPropertyID, or null if not specifiedpublic java.lang.String getTarget()
EncryptionPropertyEncryptedType structure
that this property describes.
getTarget in interface EncryptionPropertynull if not specifiedpublic java.util.Map getAttributes()
EncryptionPropertyxml:space,
xml:lang, xml:base).
getAttributes in interface EncryptionPropertynull if not specified)
public void marshal(org.w3c.dom.Node parent,
java.lang.String encPrefix,
DOMCryptoContext context)
throws MarshalException
marshal in class DOMStructureMarshalExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
XML Security, 1.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||