001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2007.03.17 at 08:38:02 AM PDT
006: //
007:
008: package org.collada.colladaschema;
009:
010: import java.util.ArrayList;
011: import java.util.List;
012: import javax.xml.bind.annotation.XmlAccessType;
013: import javax.xml.bind.annotation.XmlAccessorType;
014: import javax.xml.bind.annotation.XmlAttribute;
015: import javax.xml.bind.annotation.XmlType;
016: import javax.xml.bind.annotation.XmlValue;
017: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
018: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
019:
020: /**
021: * <p>Java class for common_color_or_texture_type complex type.
022: *
023: * <p>The following schema fragment specifies the expected content contained within this class.
024: *
025: * <pre>
026: * <complexType name="common_color_or_texture_type">
027: * <complexContent>
028: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
029: * <choice>
030: * <element name="color">
031: * <complexType>
032: * <simpleContent>
033: * <extension base="<http://www.collada.org/2005/11/COLLADASchema>fx_color_common">
034: * <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
035: * </extension>
036: * </simpleContent>
037: * </complexType>
038: * </element>
039: * <element name="param">
040: * <complexType>
041: * <complexContent>
042: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
043: * <attribute name="ref" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
044: * </restriction>
045: * </complexContent>
046: * </complexType>
047: * </element>
048: * <element name="texture">
049: * <complexType>
050: * <complexContent>
051: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
052: * <sequence>
053: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" minOccurs="0"/>
054: * </sequence>
055: * <attribute name="texcoord" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
056: * <attribute name="texture" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
057: * </restriction>
058: * </complexContent>
059: * </complexType>
060: * </element>
061: * </choice>
062: * </restriction>
063: * </complexContent>
064: * </complexType>
065: * </pre>
066: *
067: *
068: */
069: @XmlAccessorType(XmlAccessType.FIELD)
070: @XmlType(name="common_color_or_texture_type",propOrder={"param","color","texture"})
071: public class CommonColorOrTextureType {
072:
073: protected CommonColorOrTextureType.Param param;
074: protected CommonColorOrTextureType.Color color;
075: protected CommonColorOrTextureType.Texture texture;
076:
077: /**
078: * Gets the value of the param property.
079: *
080: * @return
081: * possible object is
082: * {@link CommonColorOrTextureType.Param }
083: *
084: */
085: public CommonColorOrTextureType.Param getParam() {
086: return param;
087: }
088:
089: /**
090: * Sets the value of the param property.
091: *
092: * @param value
093: * allowed object is
094: * {@link CommonColorOrTextureType.Param }
095: *
096: */
097: public void setParam(CommonColorOrTextureType.Param value) {
098: this .param = value;
099: }
100:
101: /**
102: * Gets the value of the color property.
103: *
104: * @return
105: * possible object is
106: * {@link CommonColorOrTextureType.Color }
107: *
108: */
109: public CommonColorOrTextureType.Color getColor() {
110: return color;
111: }
112:
113: /**
114: * Sets the value of the color property.
115: *
116: * @param value
117: * allowed object is
118: * {@link CommonColorOrTextureType.Color }
119: *
120: */
121: public void setColor(CommonColorOrTextureType.Color value) {
122: this .color = value;
123: }
124:
125: /**
126: * Gets the value of the texture property.
127: *
128: * @return
129: * possible object is
130: * {@link CommonColorOrTextureType.Texture }
131: *
132: */
133: public CommonColorOrTextureType.Texture getTexture() {
134: return texture;
135: }
136:
137: /**
138: * Sets the value of the texture property.
139: *
140: * @param value
141: * allowed object is
142: * {@link CommonColorOrTextureType.Texture }
143: *
144: */
145: public void setTexture(CommonColorOrTextureType.Texture value) {
146: this .texture = value;
147: }
148:
149: /**
150: * <p>Java class for anonymous complex type.
151: *
152: * <p>The following schema fragment specifies the expected content contained within this class.
153: *
154: * <pre>
155: * <complexType>
156: * <simpleContent>
157: * <extension base="<http://www.collada.org/2005/11/COLLADASchema>fx_color_common">
158: * <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
159: * </extension>
160: * </simpleContent>
161: * </complexType>
162: * </pre>
163: *
164: *
165: */
166: @XmlAccessorType(XmlAccessType.FIELD)
167: @XmlType(name="",propOrder={"values"})
168: public static class Color {
169:
170: @XmlValue
171: protected List<Double> values;
172: @XmlAttribute
173: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
174: protected String sid;
175:
176: /**
177: * Gets the value of the values property.
178: *
179: * <p>
180: * This accessor method returns a reference to the live list,
181: * not a snapshot. Therefore any modification you make to the
182: * returned list will be present inside the JAXB object.
183: * This is why there is not a <CODE>set</CODE> method for the values property.
184: *
185: * <p>
186: * For example, to add a new item, do as follows:
187: * <pre>
188: * getValues().add(newItem);
189: * </pre>
190: *
191: *
192: * <p>
193: * Objects of the following type(s) are allowed in the list
194: * {@link Double }
195: *
196: *
197: */
198: public List<Double> getValues() {
199: if (values == null) {
200: values = new ArrayList<Double>();
201: }
202: return this .values;
203: }
204:
205: /**
206: * Gets the value of the sid property.
207: *
208: * @return
209: * possible object is
210: * {@link String }
211: *
212: */
213: public String getSid() {
214: return sid;
215: }
216:
217: /**
218: * Sets the value of the sid property.
219: *
220: * @param value
221: * allowed object is
222: * {@link String }
223: *
224: */
225: public void setSid(String value) {
226: this .sid = value;
227: }
228:
229: }
230:
231: /**
232: * <p>Java class for anonymous complex type.
233: *
234: * <p>The following schema fragment specifies the expected content contained within this class.
235: *
236: * <pre>
237: * <complexType>
238: * <complexContent>
239: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
240: * <attribute name="ref" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
241: * </restriction>
242: * </complexContent>
243: * </complexType>
244: * </pre>
245: *
246: *
247: */
248: @XmlAccessorType(XmlAccessType.FIELD)
249: @XmlType(name="")
250: public static class Param {
251:
252: @XmlAttribute(required=true)
253: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
254: protected String ref;
255:
256: /**
257: * Gets the value of the ref property.
258: *
259: * @return
260: * possible object is
261: * {@link String }
262: *
263: */
264: public String getRef() {
265: return ref;
266: }
267:
268: /**
269: * Sets the value of the ref property.
270: *
271: * @param value
272: * allowed object is
273: * {@link String }
274: *
275: */
276: public void setRef(String value) {
277: this .ref = value;
278: }
279:
280: }
281:
282: /**
283: * <p>Java class for anonymous complex type.
284: *
285: * <p>The following schema fragment specifies the expected content contained within this class.
286: *
287: * <pre>
288: * <complexType>
289: * <complexContent>
290: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
291: * <sequence>
292: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" minOccurs="0"/>
293: * </sequence>
294: * <attribute name="texcoord" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
295: * <attribute name="texture" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
296: * </restriction>
297: * </complexContent>
298: * </complexType>
299: * </pre>
300: *
301: *
302: */
303: @XmlAccessorType(XmlAccessType.FIELD)
304: @XmlType(name="",propOrder={"extra"})
305: public static class Texture {
306:
307: protected Extra extra;
308: @XmlAttribute(required=true)
309: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
310: protected String texcoord;
311: @XmlAttribute(required=true)
312: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
313: protected String texture;
314:
315: /**
316: * Gets the value of the extra property.
317: *
318: * @return
319: * possible object is
320: * {@link Extra }
321: *
322: */
323: public Extra getExtra() {
324: return extra;
325: }
326:
327: /**
328: * Sets the value of the extra property.
329: *
330: * @param value
331: * allowed object is
332: * {@link Extra }
333: *
334: */
335: public void setExtra(Extra value) {
336: this .extra = value;
337: }
338:
339: /**
340: * Gets the value of the texcoord property.
341: *
342: * @return
343: * possible object is
344: * {@link String }
345: *
346: */
347: public String getTexcoord() {
348: return texcoord;
349: }
350:
351: /**
352: * Sets the value of the texcoord property.
353: *
354: * @param value
355: * allowed object is
356: * {@link String }
357: *
358: */
359: public void setTexcoord(String value) {
360: this .texcoord = value;
361: }
362:
363: /**
364: * Gets the value of the texture property.
365: *
366: * @return
367: * possible object is
368: * {@link String }
369: *
370: */
371: public String getTexture() {
372: return texture;
373: }
374:
375: /**
376: * Sets the value of the texture property.
377: *
378: * @param value
379: * allowed object is
380: * {@link String }
381: *
382: */
383: public void setTexture(String value) {
384: this.texture = value;
385: }
386:
387: }
388:
389: }
|