KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > w3 > _2001 > _04 > xmlenc_ > EncryptionPropertiesType


1
2 package org.w3._2001._04.xmlenc_;
3
4 import java.util.ArrayList JavaDoc;
5 import java.util.List JavaDoc;
6 import javax.xml.bind.annotation.XmlAccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlAttribute;
9 import javax.xml.bind.annotation.XmlElement;
10 import javax.xml.bind.annotation.XmlID;
11 import javax.xml.bind.annotation.XmlSchemaType;
12 import javax.xml.bind.annotation.XmlType;
13 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
14 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
15
16
17 /**
18  * <p>Java class for EncryptionPropertiesType complex type.
19  *
20  * <p>The following schema fragment specifies the expected content contained within this class.
21  *
22  * <pre>
23  * &lt;complexType name="EncryptionPropertiesType">
24  * &lt;complexContent>
25  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26  * &lt;sequence>
27  * &lt;element ref="{http://www.w3.org/2001/04/xmlenc#}EncryptionProperty" maxOccurs="unbounded"/>
28  * &lt;/sequence>
29  * &lt;attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
30  * &lt;/restriction>
31  * &lt;/complexContent>
32  * &lt;/complexType>
33  * </pre>
34  *
35  *
36  */

37 @XmlAccessorType(XmlAccessType.FIELD)
38 @XmlType(name = "EncryptionPropertiesType", propOrder = {
39     "encryptionProperty"
40 })
41 public class EncryptionPropertiesType {
42
43     @XmlElement(name = "EncryptionProperty", required = true)
44     protected List JavaDoc<EncryptionPropertyType> encryptionProperty;
45     @XmlAttribute(name = "Id")
46     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
47     @XmlID
48     @XmlSchemaType(name = "ID")
49     protected String JavaDoc id;
50
51     /**
52      * Gets the value of the encryptionProperty property.
53      *
54      * <p>
55      * This accessor method returns a reference to the live list,
56      * not a snapshot. Therefore any modification you make to the
57      * returned list will be present inside the JAXB object.
58      * This is why there is not a <CODE>set</CODE> method for the encryptionProperty property.
59      *
60      * <p>
61      * For example, to add a new item, do as follows:
62      * <pre>
63      * getEncryptionProperty().add(newItem);
64      * </pre>
65      *
66      *
67      * <p>
68      * Objects of the following type(s) are allowed in the list
69      * {@link EncryptionPropertyType }
70      *
71      *
72      */

73     public List JavaDoc<EncryptionPropertyType> getEncryptionProperty() {
74         if (encryptionProperty == null) {
75             encryptionProperty = new ArrayList JavaDoc<EncryptionPropertyType>();
76         }
77         return this.encryptionProperty;
78     }
79
80     /**
81      * Gets the value of the id property.
82      *
83      * @return
84      * possible object is
85      * {@link String }
86      *
87      */

88     public String JavaDoc getId() {
89         return id;
90     }
91
92     /**
93      * Sets the value of the id property.
94      *
95      * @param value
96      * allowed object is
97      * {@link String }
98      *
99      */

100     public void setId(String JavaDoc value) {
101         this.id = value;
102     }
103
104 }
105
Popular Tags