KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > w3 > _2000 > _09 > xmldsig_ > SignaturePropertyType


1
2 package org.w3._2000._09.xmldsig_;
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.XmlAnyElement;
9 import javax.xml.bind.annotation.XmlAttribute;
10 import javax.xml.bind.annotation.XmlID;
11 import javax.xml.bind.annotation.XmlMixed;
12 import javax.xml.bind.annotation.XmlSchemaType;
13 import javax.xml.bind.annotation.XmlType;
14 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
15 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
16 import org.w3c.dom.Element JavaDoc;
17
18
19 /**
20  * <p>Java class for SignaturePropertyType complex type.
21  *
22  * <p>The following schema fragment specifies the expected content contained within this class.
23  *
24  * <pre>
25  * &lt;complexType name="SignaturePropertyType">
26  * &lt;complexContent>
27  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28  * &lt;choice maxOccurs="unbounded">
29  * &lt;any/>
30  * &lt;/choice>
31  * &lt;attribute name="Target" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
32  * &lt;attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
33  * &lt;/restriction>
34  * &lt;/complexContent>
35  * &lt;/complexType>
36  * </pre>
37  *
38  *
39  */

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

82     public List JavaDoc<Object JavaDoc> getContent() {
83         if (content == null) {
84             content = new ArrayList JavaDoc<Object JavaDoc>();
85         }
86         return this.content;
87     }
88
89     /**
90      * Gets the value of the target property.
91      *
92      * @return
93      * possible object is
94      * {@link String }
95      *
96      */

97     public String JavaDoc getTarget() {
98         return target;
99     }
100
101     /**
102      * Sets the value of the target property.
103      *
104      * @param value
105      * allowed object is
106      * {@link String }
107      *
108      */

109     public void setTarget(String JavaDoc value) {
110         this.target = value;
111     }
112
113     /**
114      * Gets the value of the id property.
115      *
116      * @return
117      * possible object is
118      * {@link String }
119      *
120      */

121     public String JavaDoc getId() {
122         return id;
123     }
124
125     /**
126      * Sets the value of the id property.
127      *
128      * @param value
129      * allowed object is
130      * {@link String }
131      *
132      */

133     public void setId(String JavaDoc value) {
134         this.id = value;
135     }
136
137 }
138
Popular Tags