Class XMLCipher.Factory.EncryptionPropertiesImpl
- java.lang.Object
-
- org.apache.xml.security.encryption.XMLCipher.Factory.EncryptionPropertiesImpl
-
- All Implemented Interfaces:
EncryptionProperties
- Enclosing class:
- XMLCipher.Factory
private class XMLCipher.Factory.EncryptionPropertiesImpl extends java.lang.Object implements EncryptionProperties
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<EncryptionProperty>encryptionPropertiesprivate java.lang.Stringid
-
Constructor Summary
Constructors Constructor Description EncryptionPropertiesImpl()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEncryptionProperty(EncryptionProperty property)Adds anEncryptionProperty.java.util.Iterator<EncryptionProperty>getEncryptionProperties()Returns anIteratorover all theEncryptionProptertyelements contained in thisEncryptionProperties.java.lang.StringgetId()Returns theEncryptionProperties' id.voidremoveEncryptionProperty(EncryptionProperty property)Removes the specifiedEncryptionProperty.voidsetId(java.lang.String id)Sets the id.(package private) org.w3c.dom.ElementtoElement()
-
-
-
Field Detail
-
id
private java.lang.String id
-
encryptionProperties
private java.util.List<EncryptionProperty> encryptionProperties
-
-
Method Detail
-
getId
public java.lang.String getId()
Returns theEncryptionProperties' id.- Specified by:
getIdin interfaceEncryptionProperties- Returns:
- the id.
-
setId
public void setId(java.lang.String id)
Sets the id.- Specified by:
setIdin interfaceEncryptionProperties- Parameters:
id- the id.
-
getEncryptionProperties
public java.util.Iterator<EncryptionProperty> getEncryptionProperties()
Returns anIteratorover all theEncryptionProptertyelements contained in thisEncryptionProperties.- Specified by:
getEncryptionPropertiesin interfaceEncryptionProperties- Returns:
- an
Iteratorover all the encryption properties.
-
addEncryptionProperty
public void addEncryptionProperty(EncryptionProperty property)
Adds anEncryptionProperty.- Specified by:
addEncryptionPropertyin interfaceEncryptionProperties
-
removeEncryptionProperty
public void removeEncryptionProperty(EncryptionProperty property)
Removes the specifiedEncryptionProperty.- Specified by:
removeEncryptionPropertyin interfaceEncryptionProperties
-
toElement
org.w3c.dom.Element toElement()
-
-