Class XMLCipher.Factory.EncryptionPropertyImpl
- java.lang.Object
-
- org.apache.xml.security.encryption.XMLCipher.Factory.EncryptionPropertyImpl
-
- All Implemented Interfaces:
EncryptionProperty
- Enclosing class:
- XMLCipher.Factory
private class XMLCipher.Factory.EncryptionPropertyImpl extends java.lang.Object implements EncryptionProperty
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,java.lang.String>attributeMapprivate java.util.List<org.w3c.dom.Element>encryptionInformationprivate java.lang.Stringidprivate java.lang.Stringtarget
-
Constructor Summary
Constructors Constructor Description EncryptionPropertyImpl()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEncryptionInformation(org.w3c.dom.Element info)Adds encryption information.java.lang.StringgetAttribute(java.lang.String attribute)Returns the attribute's value in thexmlnamespace.java.util.Iterator<org.w3c.dom.Element>getEncryptionInformation()Returns the properties of theEncryptionProperty.java.lang.StringgetId()Returns the id of theEncryptionProperty.java.lang.StringgetTarget()Returns theEncryptedTypebeing described.voidremoveEncryptionInformation(org.w3c.dom.Element info)Removes encryption information.voidsetAttribute(java.lang.String attribute, java.lang.String value)Set the attribute value.voidsetId(java.lang.String id)Sets the id.voidsetTarget(java.lang.String target)Sets the target.(package private) org.w3c.dom.ElementtoElement()
-
-
-
Method Detail
-
getTarget
public java.lang.String getTarget()
Returns theEncryptedTypebeing described.- Specified by:
getTargetin interfaceEncryptionProperty- Returns:
- the
EncryptedTypebeing described by thisEncryptionProperty.
-
setTarget
public void setTarget(java.lang.String target)
Sets the target.- Specified by:
setTargetin interfaceEncryptionProperty
-
getId
public java.lang.String getId()
Returns the id of theEncryptionProperty.- Specified by:
getIdin interfaceEncryptionProperty- Returns:
- the id.
-
setId
public void setId(java.lang.String id)
Sets the id.- Specified by:
setIdin interfaceEncryptionProperty
-
getAttribute
public java.lang.String getAttribute(java.lang.String attribute)
Returns the attribute's value in thexmlnamespace.- Specified by:
getAttributein interfaceEncryptionProperty- Returns:
- the attribute's value.
-
setAttribute
public void setAttribute(java.lang.String attribute, java.lang.String value)Set the attribute value.- Specified by:
setAttributein interfaceEncryptionProperty- Parameters:
attribute- the attribute's name.value- the attribute's value.
-
getEncryptionInformation
public java.util.Iterator<org.w3c.dom.Element> getEncryptionInformation()
Returns the properties of theEncryptionProperty.- Specified by:
getEncryptionInformationin interfaceEncryptionProperty- Returns:
- an
Iteratorover all the additional encryption information contained in this class.
-
addEncryptionInformation
public void addEncryptionInformation(org.w3c.dom.Element info)
Adds encryption information.- Specified by:
addEncryptionInformationin interfaceEncryptionProperty- Parameters:
info- the additional encryption information.
-
removeEncryptionInformation
public void removeEncryptionInformation(org.w3c.dom.Element info)
Removes encryption information.- Specified by:
removeEncryptionInformationin interfaceEncryptionProperty- Parameters:
info- the information to remove.
-
toElement
org.w3c.dom.Element toElement()
-
-