Class EncryptionPropertyType
- java.lang.Object
-
- com.sun.xml.security.core.xenc.EncryptionPropertyType
-
public class EncryptionPropertyType extends Object
Java class for EncryptionPropertyType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EncryptionPropertyType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded"> <any/> </choice> <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="Target" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description EncryptionPropertyType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>getContent()Gets the value of the content property.StringgetId()Gets the value of the id property.Map<QName,String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.StringgetTarget()Gets the value of the target property.voidsetContent(List<Object> content)voidsetId(String value)Sets the value of the id property.voidsetOtherAttributes(Map<QName,String> otherAttributes)voidsetTarget(String value)Sets the value of the target property.
-
-
-
Method Detail
-
getContent
public List<Object> getContent()
Gets the value of the content property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the content property.For example, to add a new item, do as follows:
getContent().add(newItem);Objects of the following type(s) are allowed in the list
ObjectElementString
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getTarget
public String getTarget()
Gets the value of the target property.- Returns:
- possible object is
String
-
setTarget
public void setTarget(String value)
Sets the value of the target property.- Parameters:
value- allowed object isString
-
getOtherAttributes
public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
- Returns:
- always non-null
-
-