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.JAXBElement;
013: import javax.xml.bind.annotation.XmlAccessType;
014: import javax.xml.bind.annotation.XmlAccessorType;
015: import javax.xml.bind.annotation.XmlAttribute;
016: import javax.xml.bind.annotation.XmlElement;
017: import javax.xml.bind.annotation.XmlElementRef;
018: import javax.xml.bind.annotation.XmlID;
019: import javax.xml.bind.annotation.XmlRootElement;
020: import javax.xml.bind.annotation.XmlType;
021: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
022: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
023:
024: /**
025: * <p>Java class for anonymous complex type.
026: *
027: * <p>The following schema fragment specifies the expected content contained within this class.
028: *
029: * <pre>
030: * <complexType>
031: * <complexContent>
032: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
033: * <sequence>
034: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}asset" minOccurs="0"/>
035: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}node" maxOccurs="unbounded"/>
036: * <element name="evaluate_scene" maxOccurs="unbounded" minOccurs="0">
037: * <complexType>
038: * <complexContent>
039: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
040: * <sequence>
041: * <element name="render" maxOccurs="unbounded">
042: * <complexType>
043: * <complexContent>
044: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
045: * <sequence>
046: * <element name="layer" type="{http://www.w3.org/2001/XMLSchema}NCName" maxOccurs="unbounded" minOccurs="0"/>
047: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_effect" minOccurs="0"/>
048: * </sequence>
049: * <attribute name="camera_node" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
050: * </restriction>
051: * </complexContent>
052: * </complexType>
053: * </element>
054: * </sequence>
055: * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
056: * </restriction>
057: * </complexContent>
058: * </complexType>
059: * </element>
060: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
061: * </sequence>
062: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
063: * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
064: * </restriction>
065: * </complexContent>
066: * </complexType>
067: * </pre>
068: *
069: *
070: */
071: @XmlAccessorType(XmlAccessType.FIELD)
072: @XmlType(name="",propOrder={"asset","nodes","evaluateScenes","extras"})
073: @XmlRootElement(name="visual_scene")
074: public class VisualScene {
075:
076: protected Asset asset;
077: @XmlElement(name="node",required=true)
078: protected List<Node> nodes;
079: @XmlElement(name="evaluate_scene")
080: protected List<VisualScene.EvaluateScene> evaluateScenes;
081: @XmlElement(name="extra")
082: protected List<Extra> extras;
083: @XmlAttribute
084: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
085: @XmlID
086: protected String id;
087: @XmlAttribute
088: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
089: protected String name;
090:
091: /**
092: *
093: * The visual_scene element may contain an asset element.
094: *
095: *
096: * @return
097: * possible object is
098: * {@link Asset }
099: *
100: */
101: public Asset getAsset() {
102: return asset;
103: }
104:
105: /**
106: *
107: * The visual_scene element may contain an asset element.
108: *
109: *
110: * @param value
111: * allowed object is
112: * {@link Asset }
113: *
114: */
115: public void setAsset(Asset value) {
116: this .asset = value;
117: }
118:
119: /**
120: *
121: * The visual_scene element must have at least one node element.
122: * Gets the value of the nodes property.
123: *
124: * <p>
125: * This accessor method returns a reference to the live list,
126: * not a snapshot. Therefore any modification you make to the
127: * returned list will be present inside the JAXB object.
128: * This is why there is not a <CODE>set</CODE> method for the nodes property.
129: *
130: * <p>
131: * For example, to add a new item, do as follows:
132: * <pre>
133: * getNodes().add(newItem);
134: * </pre>
135: *
136: *
137: * <p>
138: * Objects of the following type(s) are allowed in the list
139: * {@link Node }
140: *
141: *
142: */
143: public List<Node> getNodes() {
144: if (nodes == null) {
145: nodes = new ArrayList<Node>();
146: }
147: return this .nodes;
148: }
149:
150: /**
151: * Gets the value of the evaluateScenes property.
152: *
153: * <p>
154: * This accessor method returns a reference to the live list,
155: * not a snapshot. Therefore any modification you make to the
156: * returned list will be present inside the JAXB object.
157: * This is why there is not a <CODE>set</CODE> method for the evaluateScenes property.
158: *
159: * <p>
160: * For example, to add a new item, do as follows:
161: * <pre>
162: * getEvaluateScenes().add(newItem);
163: * </pre>
164: *
165: *
166: * <p>
167: * Objects of the following type(s) are allowed in the list
168: * {@link VisualScene.EvaluateScene }
169: *
170: *
171: */
172: public List<VisualScene.EvaluateScene> getEvaluateScenes() {
173: if (evaluateScenes == null) {
174: evaluateScenes = new ArrayList<VisualScene.EvaluateScene>();
175: }
176: return this .evaluateScenes;
177: }
178:
179: /**
180: *
181: * The extra element may appear any number of times.
182: * Gets the value of the extras property.
183: *
184: * <p>
185: * This accessor method returns a reference to the live list,
186: * not a snapshot. Therefore any modification you make to the
187: * returned list will be present inside the JAXB object.
188: * This is why there is not a <CODE>set</CODE> method for the extras property.
189: *
190: * <p>
191: * For example, to add a new item, do as follows:
192: * <pre>
193: * getExtras().add(newItem);
194: * </pre>
195: *
196: *
197: * <p>
198: * Objects of the following type(s) are allowed in the list
199: * {@link Extra }
200: *
201: *
202: */
203: public List<Extra> getExtras() {
204: if (extras == null) {
205: extras = new ArrayList<Extra>();
206: }
207: return this .extras;
208: }
209:
210: /**
211: * Gets the value of the id property.
212: *
213: * @return
214: * possible object is
215: * {@link String }
216: *
217: */
218: public String getId() {
219: return id;
220: }
221:
222: /**
223: * Sets the value of the id property.
224: *
225: * @param value
226: * allowed object is
227: * {@link String }
228: *
229: */
230: public void setId(String value) {
231: this .id = value;
232: }
233:
234: /**
235: * Gets the value of the name property.
236: *
237: * @return
238: * possible object is
239: * {@link String }
240: *
241: */
242: public String getName() {
243: return name;
244: }
245:
246: /**
247: * Sets the value of the name property.
248: *
249: * @param value
250: * allowed object is
251: * {@link String }
252: *
253: */
254: public void setName(String value) {
255: this .name = value;
256: }
257:
258: /**
259: * <p>Java class for anonymous complex type.
260: *
261: * <p>The following schema fragment specifies the expected content contained within this class.
262: *
263: * <pre>
264: * <complexType>
265: * <complexContent>
266: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
267: * <sequence>
268: * <element name="render" maxOccurs="unbounded">
269: * <complexType>
270: * <complexContent>
271: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
272: * <sequence>
273: * <element name="layer" type="{http://www.w3.org/2001/XMLSchema}NCName" maxOccurs="unbounded" minOccurs="0"/>
274: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_effect" minOccurs="0"/>
275: * </sequence>
276: * <attribute name="camera_node" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
277: * </restriction>
278: * </complexContent>
279: * </complexType>
280: * </element>
281: * </sequence>
282: * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
283: * </restriction>
284: * </complexContent>
285: * </complexType>
286: * </pre>
287: *
288: *
289: */
290: @XmlAccessorType(XmlAccessType.FIELD)
291: @XmlType(name="",propOrder={"renders"})
292: public static class EvaluateScene {
293:
294: @XmlElement(name="render",required=true)
295: protected List<VisualScene.EvaluateScene.Render> renders;
296: @XmlAttribute
297: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
298: protected String name;
299:
300: /**
301: * Gets the value of the renders property.
302: *
303: * <p>
304: * This accessor method returns a reference to the live list,
305: * not a snapshot. Therefore any modification you make to the
306: * returned list will be present inside the JAXB object.
307: * This is why there is not a <CODE>set</CODE> method for the renders property.
308: *
309: * <p>
310: * For example, to add a new item, do as follows:
311: * <pre>
312: * getRenders().add(newItem);
313: * </pre>
314: *
315: *
316: * <p>
317: * Objects of the following type(s) are allowed in the list
318: * {@link VisualScene.EvaluateScene.Render }
319: *
320: *
321: */
322: public List<VisualScene.EvaluateScene.Render> getRenders() {
323: if (renders == null) {
324: renders = new ArrayList<VisualScene.EvaluateScene.Render>();
325: }
326: return this .renders;
327: }
328:
329: /**
330: * Gets the value of the name property.
331: *
332: * @return
333: * possible object is
334: * {@link String }
335: *
336: */
337: public String getName() {
338: return name;
339: }
340:
341: /**
342: * Sets the value of the name property.
343: *
344: * @param value
345: * allowed object is
346: * {@link String }
347: *
348: */
349: public void setName(String value) {
350: this .name = value;
351: }
352:
353: /**
354: * <p>Java class for anonymous complex type.
355: *
356: * <p>The following schema fragment specifies the expected content contained within this class.
357: *
358: * <pre>
359: * <complexType>
360: * <complexContent>
361: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
362: * <sequence>
363: * <element name="layer" type="{http://www.w3.org/2001/XMLSchema}NCName" maxOccurs="unbounded" minOccurs="0"/>
364: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_effect" minOccurs="0"/>
365: * </sequence>
366: * <attribute name="camera_node" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
367: * </restriction>
368: * </complexContent>
369: * </complexType>
370: * </pre>
371: *
372: *
373: */
374: @XmlAccessorType(XmlAccessType.FIELD)
375: @XmlType(name="",propOrder={"layers","instanceEffect"})
376: public static class Render {
377:
378: @XmlElementRef(name="layer",namespace="http://www.collada.org/2005/11/COLLADASchema",type=JAXBElement.class)
379: protected List<JAXBElement<String>> layers;
380: @XmlElement(name="instance_effect")
381: protected InstanceEffect instanceEffect;
382: @XmlAttribute(name="camera_node",required=true)
383: protected String cameraNode;
384:
385: /**
386: * Gets the value of the layers property.
387: *
388: * <p>
389: * This accessor method returns a reference to the live list,
390: * not a snapshot. Therefore any modification you make to the
391: * returned list will be present inside the JAXB object.
392: * This is why there is not a <CODE>set</CODE> method for the layers property.
393: *
394: * <p>
395: * For example, to add a new item, do as follows:
396: * <pre>
397: * getLayers().add(newItem);
398: * </pre>
399: *
400: *
401: * <p>
402: * Objects of the following type(s) are allowed in the list
403: * {@link JAXBElement }{@code <}{@link String }{@code >}
404: *
405: *
406: */
407: public List<JAXBElement<String>> getLayers() {
408: if (layers == null) {
409: layers = new ArrayList<JAXBElement<String>>();
410: }
411: return this .layers;
412: }
413:
414: /**
415: *
416: * The instance_effect element specifies which effect to render in this compositing step
417: * while evaluating the scene.
418: *
419: *
420: * @return
421: * possible object is
422: * {@link InstanceEffect }
423: *
424: */
425: public InstanceEffect getInstanceEffect() {
426: return instanceEffect;
427: }
428:
429: /**
430: *
431: * The instance_effect element specifies which effect to render in this compositing step
432: * while evaluating the scene.
433: *
434: *
435: * @param value
436: * allowed object is
437: * {@link InstanceEffect }
438: *
439: */
440: public void setInstanceEffect(InstanceEffect value) {
441: this .instanceEffect = value;
442: }
443:
444: /**
445: * Gets the value of the cameraNode property.
446: *
447: * @return
448: * possible object is
449: * {@link String }
450: *
451: */
452: public String getCameraNode() {
453: return cameraNode;
454: }
455:
456: /**
457: * Sets the value of the cameraNode property.
458: *
459: * @param value
460: * allowed object is
461: * {@link String }
462: *
463: */
464: public void setCameraNode(String value) {
465: this.cameraNode = value;
466: }
467:
468: }
469:
470: }
471:
472: }
|