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>
encryptionProperties
private java.lang.String
id
-
Constructor Summary
Constructors Constructor Description EncryptionPropertiesImpl()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEncryptionProperty(EncryptionProperty property)
Adds anEncryptionProperty
.java.util.Iterator<EncryptionProperty>
getEncryptionProperties()
Returns anIterator
over all theEncryptionPropterty
elements contained in thisEncryptionProperties
.java.lang.String
getId()
Returns theEncryptionProperties
' id.void
removeEncryptionProperty(EncryptionProperty property)
Removes the specifiedEncryptionProperty
.void
setId(java.lang.String id)
Sets the id.(package private) org.w3c.dom.Element
toElement()
-
-
-
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:
getId
in interfaceEncryptionProperties
- Returns:
- the id.
-
setId
public void setId(java.lang.String id)
Sets the id.- Specified by:
setId
in interfaceEncryptionProperties
- Parameters:
id
- the id.
-
getEncryptionProperties
public java.util.Iterator<EncryptionProperty> getEncryptionProperties()
Returns anIterator
over all theEncryptionPropterty
elements contained in thisEncryptionProperties
.- Specified by:
getEncryptionProperties
in interfaceEncryptionProperties
- Returns:
- an
Iterator
over all the encryption properties.
-
addEncryptionProperty
public void addEncryptionProperty(EncryptionProperty property)
Adds anEncryptionProperty
.- Specified by:
addEncryptionProperty
in interfaceEncryptionProperties
-
removeEncryptionProperty
public void removeEncryptionProperty(EncryptionProperty property)
Removes the specifiedEncryptionProperty
.- Specified by:
removeEncryptionProperty
in interfaceEncryptionProperties
-
toElement
org.w3c.dom.Element toElement()
-
-