KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > xml > dsig > core > ObjectType


1 //
2
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b26-ea3
3
// See <a HREF="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4
// Any modifications to this file will be lost upon recompilation of the source schema.
5
// Generated on: 2006.02.24 at 05:55:09 PM PST
6
//
7

8
9 package com.sun.xml.dsig.core;
10
11 import java.util.ArrayList JavaDoc;
12 import java.util.List JavaDoc;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlAnyElement;
16 import javax.xml.bind.annotation.XmlAttribute;
17 import javax.xml.bind.annotation.XmlID;
18 import javax.xml.bind.annotation.XmlMixed;
19 import javax.xml.bind.annotation.XmlType;
20 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
21 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
22 import com.sun.xml.dsig.core.ObjectType;
23 import org.w3c.dom.Element JavaDoc;
24
25
26 /**
27  * <p>Java class for ObjectType complex type.
28  *
29  * <p>The following schema fragment specifies the expected content contained within this class.
30  *
31  * <pre>
32  * &lt;complexType name="ObjectType">
33  * &lt;complexContent>
34  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
35  * &lt;sequence maxOccurs="unbounded" minOccurs="0">
36  * &lt;any/>
37  * &lt;/sequence>
38  * &lt;attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
39  * &lt;attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
40  * &lt;attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" />
41  * &lt;/restriction>
42  * &lt;/complexContent>
43  * &lt;/complexType>
44  * </pre>
45  *
46  *
47  */

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

90     public List JavaDoc<Object JavaDoc> getContent() {
91         if (content == null) {
92             content = new ArrayList JavaDoc<Object JavaDoc>();
93         }
94         return this.content;
95     }
96
97     /**
98      * Gets the value of the encoding property.
99      *
100      * @return
101      * possible object is
102      * {@link String }
103      *
104      */

105     public String JavaDoc getEncoding() {
106         return encoding;
107     }
108
109     /**
110      * Sets the value of the encoding property.
111      *
112      * @param value
113      * allowed object is
114      * {@link String }
115      *
116      */

117     public void setEncoding(String JavaDoc value) {
118         this.encoding = value;
119     }
120
121     /**
122      * Gets the value of the id property.
123      *
124      * @return
125      * possible object is
126      * {@link String }
127      *
128      */

129     public String JavaDoc getId() {
130         return id;
131     }
132
133     /**
134      * Sets the value of the id property.
135      *
136      * @param value
137      * allowed object is
138      * {@link String }
139      *
140      */

141     public void setId(String JavaDoc value) {
142         this.id = value;
143     }
144
145     /**
146      * Gets the value of the mimeType property.
147      *
148      * @return
149      * possible object is
150      * {@link String }
151      *
152      */

153     public String JavaDoc getMimeType() {
154         return mimeType;
155     }
156
157     /**
158      * Sets the value of the mimeType property.
159      *
160      * @param value
161      * allowed object is
162      * {@link String }
163      *
164      */

165     public void setMimeType(String JavaDoc value) {
166         this.mimeType = value;
167     }
168
169 }
170
Popular Tags