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.XmlRootElement;
017: import javax.xml.bind.annotation.XmlType;
018:
019: /**
020: * <p>Java class for anonymous complex type.
021: *
022: * <p>The following schema fragment specifies the expected content contained within this class.
023: *
024: * <pre>
025: * <complexType>
026: * <complexContent>
027: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
028: * <sequence>
029: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}source" maxOccurs="unbounded"/>
030: * <element name="control_vertices">
031: * <complexType>
032: * <complexContent>
033: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
034: * <sequence>
035: * <element name="input" type="{http://www.collada.org/2005/11/COLLADASchema}InputLocal" maxOccurs="unbounded"/>
036: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
037: * </sequence>
038: * </restriction>
039: * </complexContent>
040: * </complexType>
041: * </element>
042: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
043: * </sequence>
044: * <attribute name="closed" type="{http://www.collada.org/2005/11/COLLADASchema}bool" default="false" />
045: * </restriction>
046: * </complexContent>
047: * </complexType>
048: * </pre>
049: *
050: *
051: */
052: @XmlAccessorType(XmlAccessType.FIELD)
053: @XmlType(name="",propOrder={"sources","controlVertices","extras"})
054: @XmlRootElement(name="spline")
055: public class Spline {
056:
057: @XmlElement(name="source",required=true)
058: protected List<Source> sources;
059: @XmlElement(name="control_vertices",required=true)
060: protected Spline.ControlVertices controlVertices;
061: @XmlElement(name="extra")
062: protected List<Extra> extras;
063: @XmlAttribute
064: protected Boolean closed;
065:
066: /**
067: *
068: * The mesh element must contain one or more source elements.
069: * Gets the value of the sources property.
070: *
071: * <p>
072: * This accessor method returns a reference to the live list,
073: * not a snapshot. Therefore any modification you make to the
074: * returned list will be present inside the JAXB object.
075: * This is why there is not a <CODE>set</CODE> method for the sources property.
076: *
077: * <p>
078: * For example, to add a new item, do as follows:
079: * <pre>
080: * getSources().add(newItem);
081: * </pre>
082: *
083: *
084: * <p>
085: * Objects of the following type(s) are allowed in the list
086: * {@link Source }
087: *
088: *
089: */
090: public List<Source> getSources() {
091: if (sources == null) {
092: sources = new ArrayList<Source>();
093: }
094: return this .sources;
095: }
096:
097: /**
098: * Gets the value of the controlVertices property.
099: *
100: * @return
101: * possible object is
102: * {@link Spline.ControlVertices }
103: *
104: */
105: public Spline.ControlVertices getControlVertices() {
106: return controlVertices;
107: }
108:
109: /**
110: * Sets the value of the controlVertices property.
111: *
112: * @param value
113: * allowed object is
114: * {@link Spline.ControlVertices }
115: *
116: */
117: public void setControlVertices(Spline.ControlVertices value) {
118: this .controlVertices = value;
119: }
120:
121: /**
122: *
123: * The extra element may appear any number of times.
124: * Gets the value of the extras property.
125: *
126: * <p>
127: * This accessor method returns a reference to the live list,
128: * not a snapshot. Therefore any modification you make to the
129: * returned list will be present inside the JAXB object.
130: * This is why there is not a <CODE>set</CODE> method for the extras property.
131: *
132: * <p>
133: * For example, to add a new item, do as follows:
134: * <pre>
135: * getExtras().add(newItem);
136: * </pre>
137: *
138: *
139: * <p>
140: * Objects of the following type(s) are allowed in the list
141: * {@link Extra }
142: *
143: *
144: */
145: public List<Extra> getExtras() {
146: if (extras == null) {
147: extras = new ArrayList<Extra>();
148: }
149: return this .extras;
150: }
151:
152: /**
153: * Gets the value of the closed property.
154: *
155: * @return
156: * possible object is
157: * {@link Boolean }
158: *
159: */
160: public boolean isClosed() {
161: if (closed == null) {
162: return false;
163: } else {
164: return closed;
165: }
166: }
167:
168: /**
169: * Sets the value of the closed property.
170: *
171: * @param value
172: * allowed object is
173: * {@link Boolean }
174: *
175: */
176: public void setClosed(Boolean value) {
177: this .closed = value;
178: }
179:
180: /**
181: * <p>Java class for anonymous complex type.
182: *
183: * <p>The following schema fragment specifies the expected content contained within this class.
184: *
185: * <pre>
186: * <complexType>
187: * <complexContent>
188: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
189: * <sequence>
190: * <element name="input" type="{http://www.collada.org/2005/11/COLLADASchema}InputLocal" maxOccurs="unbounded"/>
191: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
192: * </sequence>
193: * </restriction>
194: * </complexContent>
195: * </complexType>
196: * </pre>
197: *
198: *
199: */
200: @XmlAccessorType(XmlAccessType.FIELD)
201: @XmlType(name="",propOrder={"inputs","extras"})
202: public static class ControlVertices {
203:
204: @XmlElement(name="input",required=true)
205: protected List<InputLocal> inputs;
206: @XmlElement(name="extra")
207: protected List<Extra> extras;
208:
209: /**
210: * Gets the value of the inputs property.
211: *
212: * <p>
213: * This accessor method returns a reference to the live list,
214: * not a snapshot. Therefore any modification you make to the
215: * returned list will be present inside the JAXB object.
216: * This is why there is not a <CODE>set</CODE> method for the inputs property.
217: *
218: * <p>
219: * For example, to add a new item, do as follows:
220: * <pre>
221: * getInputs().add(newItem);
222: * </pre>
223: *
224: *
225: * <p>
226: * Objects of the following type(s) are allowed in the list
227: * {@link InputLocal }
228: *
229: *
230: */
231: public List<InputLocal> getInputs() {
232: if (inputs == null) {
233: inputs = new ArrayList<InputLocal>();
234: }
235: return this .inputs;
236: }
237:
238: /**
239: *
240: * The extra element may appear any number of times.
241: * Gets the value of the extras property.
242: *
243: * <p>
244: * This accessor method returns a reference to the live list,
245: * not a snapshot. Therefore any modification you make to the
246: * returned list will be present inside the JAXB object.
247: * This is why there is not a <CODE>set</CODE> method for the extras property.
248: *
249: * <p>
250: * For example, to add a new item, do as follows:
251: * <pre>
252: * getExtras().add(newItem);
253: * </pre>
254: *
255: *
256: * <p>
257: * Objects of the following type(s) are allowed in the list
258: * {@link Extra }
259: *
260: *
261: */
262: public List<Extra> getExtras() {
263: if (extras == null) {
264: extras = new ArrayList<Extra>();
265: }
266: return this.extras;
267: }
268:
269: }
270:
271: }
|