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.XmlElement;
016: import javax.xml.bind.annotation.XmlElements;
017: import javax.xml.bind.annotation.XmlRootElement;
018: import javax.xml.bind.annotation.XmlType;
019:
020: /**
021: * <p>Java class for anonymous complex type.
022: *
023: * <p>The following schema fragment specifies the expected content contained within this class.
024: *
025: * <pre>
026: * <complexType>
027: * <complexContent>
028: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
029: * <sequence>
030: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}asset"/>
031: * <choice maxOccurs="unbounded" minOccurs="0">
032: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_animations"/>
033: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_animation_clips"/>
034: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_cameras"/>
035: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_controllers"/>
036: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_geometries"/>
037: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_effects"/>
038: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_force_fields"/>
039: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_images"/>
040: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_lights"/>
041: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_materials"/>
042: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_nodes"/>
043: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_physics_materials"/>
044: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_physics_models"/>
045: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_physics_scenes"/>
046: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_visual_scenes"/>
047: * </choice>
048: * <element name="scene" minOccurs="0">
049: * <complexType>
050: * <complexContent>
051: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
052: * <sequence>
053: * <element name="instance_physics_scene" type="{http://www.collada.org/2005/11/COLLADASchema}InstanceWithExtra" maxOccurs="unbounded" minOccurs="0"/>
054: * <element name="instance_visual_scene" type="{http://www.collada.org/2005/11/COLLADASchema}InstanceWithExtra" minOccurs="0"/>
055: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
056: * </sequence>
057: * </restriction>
058: * </complexContent>
059: * </complexType>
060: * </element>
061: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
062: * </sequence>
063: * <attribute name="version" use="required" type="{http://www.collada.org/2005/11/COLLADASchema}VersionType" />
064: * <attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
065: * </restriction>
066: * </complexContent>
067: * </complexType>
068: * </pre>
069: *
070: *
071: */
072: @XmlAccessorType(XmlAccessType.FIELD)
073: @XmlType(name="",propOrder={"asset","libraryLightsAndLibraryGeometriesAndLibraryAnimationClips","scene","extras"})
074: @XmlRootElement(name="COLLADA")
075: public class COLLADA {
076:
077: @XmlElement(required=true)
078: protected Asset asset;
079: @XmlElements({@XmlElement(name="library_materials",type=LibraryMaterials.class),@XmlElement(name="library_force_fields",type=LibraryForceFields.class),@XmlElement(name="library_nodes",type=LibraryNodes.class),@XmlElement(name="library_effects",type=LibraryEffects.class),@XmlElement(name="library_animations",type=LibraryAnimations.class),@XmlElement(name="library_physics_scenes",type=LibraryPhysicsScenes.class),@XmlElement(name="library_cameras",type=LibraryCameras.class),@XmlElement(name="library_animation_clips",type=LibraryAnimationClips.class),@XmlElement(name="library_visual_scenes",type=LibraryVisualScenes.class),@XmlElement(name="library_images",type=LibraryImages.class),@XmlElement(name="library_physics_materials",type=LibraryPhysicsMaterials.class),@XmlElement(name="library_controllers",type=LibraryControllers.class),@XmlElement(name="library_lights",type=LibraryLights.class),@XmlElement(name="library_geometries",type=LibraryGeometries.class),@XmlElement(name="library_physics_models",type=LibraryPhysicsModels.class)})
080: protected List<Object> libraryLightsAndLibraryGeometriesAndLibraryAnimationClips;
081: protected COLLADA.Scene scene;
082: @XmlElement(name="extra")
083: protected List<Extra> extras;
084: @XmlAttribute(required=true)
085: protected String version;
086: @XmlAttribute(namespace="http://www.w3.org/XML/1998/namespace")
087: protected String base;
088:
089: /**
090: *
091: * The COLLADA element must contain an asset element.
092: *
093: *
094: * @return
095: * possible object is
096: * {@link Asset }
097: *
098: */
099: public Asset getAsset() {
100: return asset;
101: }
102:
103: /**
104: *
105: * The COLLADA element must contain an asset element.
106: *
107: *
108: * @param value
109: * allowed object is
110: * {@link Asset }
111: *
112: */
113: public void setAsset(Asset value) {
114: this .asset = value;
115: }
116:
117: /**
118: *
119: * The COLLADA element may contain any number of library_lights elements.
120: * Gets the value of the libraryLightsAndLibraryGeometriesAndLibraryAnimationClips property.
121: *
122: * <p>
123: * This accessor method returns a reference to the live list,
124: * not a snapshot. Therefore any modification you make to the
125: * returned list will be present inside the JAXB object.
126: * This is why there is not a <CODE>set</CODE> method for the libraryLightsAndLibraryGeometriesAndLibraryAnimationClips property.
127: *
128: * <p>
129: * For example, to add a new item, do as follows:
130: * <pre>
131: * getLibraryLightsAndLibraryGeometriesAndLibraryAnimationClips().add(newItem);
132: * </pre>
133: *
134: *
135: * <p>
136: * Objects of the following type(s) are allowed in the list
137: * {@link LibraryMaterials }
138: * {@link LibraryForceFields }
139: * {@link LibraryNodes }
140: * {@link LibraryEffects }
141: * {@link LibraryAnimations }
142: * {@link LibraryPhysicsScenes }
143: * {@link LibraryCameras }
144: * {@link LibraryAnimationClips }
145: * {@link LibraryVisualScenes }
146: * {@link LibraryImages }
147: * {@link LibraryPhysicsMaterials }
148: * {@link LibraryControllers }
149: * {@link LibraryLights }
150: * {@link LibraryGeometries }
151: * {@link LibraryPhysicsModels }
152: *
153: *
154: */
155: public List<Object> getLibraryLightsAndLibraryGeometriesAndLibraryAnimationClips() {
156: if (libraryLightsAndLibraryGeometriesAndLibraryAnimationClips == null) {
157: libraryLightsAndLibraryGeometriesAndLibraryAnimationClips = new ArrayList<Object>();
158: }
159: return this .libraryLightsAndLibraryGeometriesAndLibraryAnimationClips;
160: }
161:
162: /**
163: * Gets the value of the scene property.
164: *
165: * @return
166: * possible object is
167: * {@link COLLADA.Scene }
168: *
169: */
170: public COLLADA.Scene getScene() {
171: return scene;
172: }
173:
174: /**
175: * Sets the value of the scene property.
176: *
177: * @param value
178: * allowed object is
179: * {@link COLLADA.Scene }
180: *
181: */
182: public void setScene(COLLADA.Scene value) {
183: this .scene = value;
184: }
185:
186: /**
187: *
188: * The extra element may appear any number of times.
189: * Gets the value of the extras property.
190: *
191: * <p>
192: * This accessor method returns a reference to the live list,
193: * not a snapshot. Therefore any modification you make to the
194: * returned list will be present inside the JAXB object.
195: * This is why there is not a <CODE>set</CODE> method for the extras property.
196: *
197: * <p>
198: * For example, to add a new item, do as follows:
199: * <pre>
200: * getExtras().add(newItem);
201: * </pre>
202: *
203: *
204: * <p>
205: * Objects of the following type(s) are allowed in the list
206: * {@link Extra }
207: *
208: *
209: */
210: public List<Extra> getExtras() {
211: if (extras == null) {
212: extras = new ArrayList<Extra>();
213: }
214: return this .extras;
215: }
216:
217: /**
218: * Gets the value of the version property.
219: *
220: * @return
221: * possible object is
222: * {@link String }
223: *
224: */
225: public String getVersion() {
226: return version;
227: }
228:
229: /**
230: * Sets the value of the version property.
231: *
232: * @param value
233: * allowed object is
234: * {@link String }
235: *
236: */
237: public void setVersion(String value) {
238: this .version = value;
239: }
240:
241: /**
242: *
243: * The xml:base attribute allows you to define the base URI for this COLLADA document. See
244: * http://www.w3.org/TR/xmlbase/ for more information.
245: *
246: *
247: * @return
248: * possible object is
249: * {@link String }
250: *
251: */
252: public String getBase() {
253: return base;
254: }
255:
256: /**
257: *
258: * The xml:base attribute allows you to define the base URI for this COLLADA document. See
259: * http://www.w3.org/TR/xmlbase/ for more information.
260: *
261: *
262: * @param value
263: * allowed object is
264: * {@link String }
265: *
266: */
267: public void setBase(String value) {
268: this .base = value;
269: }
270:
271: /**
272: * <p>Java class for anonymous complex type.
273: *
274: * <p>The following schema fragment specifies the expected content contained within this class.
275: *
276: * <pre>
277: * <complexType>
278: * <complexContent>
279: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
280: * <sequence>
281: * <element name="instance_physics_scene" type="{http://www.collada.org/2005/11/COLLADASchema}InstanceWithExtra" maxOccurs="unbounded" minOccurs="0"/>
282: * <element name="instance_visual_scene" type="{http://www.collada.org/2005/11/COLLADASchema}InstanceWithExtra" minOccurs="0"/>
283: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
284: * </sequence>
285: * </restriction>
286: * </complexContent>
287: * </complexType>
288: * </pre>
289: *
290: *
291: */
292: @XmlAccessorType(XmlAccessType.FIELD)
293: @XmlType(name="",propOrder={"instancePhysicsScenes","instanceVisualScene","extras"})
294: public static class Scene {
295:
296: @XmlElement(name="instance_physics_scene")
297: protected List<InstanceWithExtra> instancePhysicsScenes;
298: @XmlElement(name="instance_visual_scene")
299: protected InstanceWithExtra instanceVisualScene;
300: @XmlElement(name="extra")
301: protected List<Extra> extras;
302:
303: /**
304: * Gets the value of the instancePhysicsScenes property.
305: *
306: * <p>
307: * This accessor method returns a reference to the live list,
308: * not a snapshot. Therefore any modification you make to the
309: * returned list will be present inside the JAXB object.
310: * This is why there is not a <CODE>set</CODE> method for the instancePhysicsScenes property.
311: *
312: * <p>
313: * For example, to add a new item, do as follows:
314: * <pre>
315: * getInstancePhysicsScenes().add(newItem);
316: * </pre>
317: *
318: *
319: * <p>
320: * Objects of the following type(s) are allowed in the list
321: * {@link InstanceWithExtra }
322: *
323: *
324: */
325: public List<InstanceWithExtra> getInstancePhysicsScenes() {
326: if (instancePhysicsScenes == null) {
327: instancePhysicsScenes = new ArrayList<InstanceWithExtra>();
328: }
329: return this .instancePhysicsScenes;
330: }
331:
332: /**
333: * Gets the value of the instanceVisualScene property.
334: *
335: * @return
336: * possible object is
337: * {@link InstanceWithExtra }
338: *
339: */
340: public InstanceWithExtra getInstanceVisualScene() {
341: return instanceVisualScene;
342: }
343:
344: /**
345: * Sets the value of the instanceVisualScene property.
346: *
347: * @param value
348: * allowed object is
349: * {@link InstanceWithExtra }
350: *
351: */
352: public void setInstanceVisualScene(InstanceWithExtra value) {
353: this .instanceVisualScene = value;
354: }
355:
356: /**
357: *
358: * The extra element may appear any number of times.
359: * Gets the value of the extras property.
360: *
361: * <p>
362: * This accessor method returns a reference to the live list,
363: * not a snapshot. Therefore any modification you make to the
364: * returned list will be present inside the JAXB object.
365: * This is why there is not a <CODE>set</CODE> method for the extras property.
366: *
367: * <p>
368: * For example, to add a new item, do as follows:
369: * <pre>
370: * getExtras().add(newItem);
371: * </pre>
372: *
373: *
374: * <p>
375: * Objects of the following type(s) are allowed in the list
376: * {@link Extra }
377: *
378: *
379: */
380: public List<Extra> getExtras() {
381: if (extras == null) {
382: extras = new ArrayList<Extra>();
383: }
384: return this.extras;
385: }
386:
387: }
388:
389: }
|