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" minOccurs="2"/>
030: * <element name="targets">
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" minOccurs="2"/>
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="method" type="{http://www.collada.org/2005/11/COLLADASchema}MorphMethodType" default="NORMALIZED" />
045: * <attribute name="source" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
046: * </restriction>
047: * </complexContent>
048: * </complexType>
049: * </pre>
050: *
051: *
052: */
053: @XmlAccessorType(XmlAccessType.FIELD)
054: @XmlType(name="",propOrder={"sources","targets","extras"})
055: @XmlRootElement(name="morph")
056: public class Morph {
057:
058: @XmlElement(name="source",required=true)
059: protected List<Source> sources;
060: @XmlElement(required=true)
061: protected Morph.Targets targets;
062: @XmlElement(name="extra")
063: protected List<Extra> extras;
064: @XmlAttribute
065: protected MorphMethodType method;
066: @XmlAttribute(required=true)
067: protected String source;
068:
069: /**
070: *
071: * The morph element must contain at least two source elements.
072: * Gets the value of the sources property.
073: *
074: * <p>
075: * This accessor method returns a reference to the live list,
076: * not a snapshot. Therefore any modification you make to the
077: * returned list will be present inside the JAXB object.
078: * This is why there is not a <CODE>set</CODE> method for the sources property.
079: *
080: * <p>
081: * For example, to add a new item, do as follows:
082: * <pre>
083: * getSources().add(newItem);
084: * </pre>
085: *
086: *
087: * <p>
088: * Objects of the following type(s) are allowed in the list
089: * {@link Source }
090: *
091: *
092: */
093: public List<Source> getSources() {
094: if (sources == null) {
095: sources = new ArrayList<Source>();
096: }
097: return this .sources;
098: }
099:
100: /**
101: * Gets the value of the targets property.
102: *
103: * @return
104: * possible object is
105: * {@link Morph.Targets }
106: *
107: */
108: public Morph.Targets getTargets() {
109: return targets;
110: }
111:
112: /**
113: * Sets the value of the targets property.
114: *
115: * @param value
116: * allowed object is
117: * {@link Morph.Targets }
118: *
119: */
120: public void setTargets(Morph.Targets value) {
121: this .targets = value;
122: }
123:
124: /**
125: *
126: * The extra element may appear any number of times.
127: * Gets the value of the extras property.
128: *
129: * <p>
130: * This accessor method returns a reference to the live list,
131: * not a snapshot. Therefore any modification you make to the
132: * returned list will be present inside the JAXB object.
133: * This is why there is not a <CODE>set</CODE> method for the extras property.
134: *
135: * <p>
136: * For example, to add a new item, do as follows:
137: * <pre>
138: * getExtras().add(newItem);
139: * </pre>
140: *
141: *
142: * <p>
143: * Objects of the following type(s) are allowed in the list
144: * {@link Extra }
145: *
146: *
147: */
148: public List<Extra> getExtras() {
149: if (extras == null) {
150: extras = new ArrayList<Extra>();
151: }
152: return this .extras;
153: }
154:
155: /**
156: * Gets the value of the method property.
157: *
158: * @return
159: * possible object is
160: * {@link MorphMethodType }
161: *
162: */
163: public MorphMethodType getMethod() {
164: if (method == null) {
165: return MorphMethodType.NORMALIZED;
166: } else {
167: return method;
168: }
169: }
170:
171: /**
172: * Sets the value of the method property.
173: *
174: * @param value
175: * allowed object is
176: * {@link MorphMethodType }
177: *
178: */
179: public void setMethod(MorphMethodType value) {
180: this .method = value;
181: }
182:
183: /**
184: * Gets the value of the source property.
185: *
186: * @return
187: * possible object is
188: * {@link String }
189: *
190: */
191: public String getSource() {
192: return source;
193: }
194:
195: /**
196: * Sets the value of the source property.
197: *
198: * @param value
199: * allowed object is
200: * {@link String }
201: *
202: */
203: public void setSource(String value) {
204: this .source = value;
205: }
206:
207: /**
208: * <p>Java class for anonymous complex type.
209: *
210: * <p>The following schema fragment specifies the expected content contained within this class.
211: *
212: * <pre>
213: * <complexType>
214: * <complexContent>
215: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
216: * <sequence>
217: * <element name="input" type="{http://www.collada.org/2005/11/COLLADASchema}InputLocal" maxOccurs="unbounded" minOccurs="2"/>
218: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
219: * </sequence>
220: * </restriction>
221: * </complexContent>
222: * </complexType>
223: * </pre>
224: *
225: *
226: */
227: @XmlAccessorType(XmlAccessType.FIELD)
228: @XmlType(name="",propOrder={"inputs","extras"})
229: public static class Targets {
230:
231: @XmlElement(name="input",required=true)
232: protected List<InputLocal> inputs;
233: @XmlElement(name="extra")
234: protected List<Extra> extras;
235:
236: /**
237: * Gets the value of the inputs property.
238: *
239: * <p>
240: * This accessor method returns a reference to the live list,
241: * not a snapshot. Therefore any modification you make to the
242: * returned list will be present inside the JAXB object.
243: * This is why there is not a <CODE>set</CODE> method for the inputs property.
244: *
245: * <p>
246: * For example, to add a new item, do as follows:
247: * <pre>
248: * getInputs().add(newItem);
249: * </pre>
250: *
251: *
252: * <p>
253: * Objects of the following type(s) are allowed in the list
254: * {@link InputLocal }
255: *
256: *
257: */
258: public List<InputLocal> getInputs() {
259: if (inputs == null) {
260: inputs = new ArrayList<InputLocal>();
261: }
262: return this .inputs;
263: }
264:
265: /**
266: *
267: * The extra element may appear any number of times.
268: * Gets the value of the extras property.
269: *
270: * <p>
271: * This accessor method returns a reference to the live list,
272: * not a snapshot. Therefore any modification you make to the
273: * returned list will be present inside the JAXB object.
274: * This is why there is not a <CODE>set</CODE> method for the extras property.
275: *
276: * <p>
277: * For example, to add a new item, do as follows:
278: * <pre>
279: * getExtras().add(newItem);
280: * </pre>
281: *
282: *
283: * <p>
284: * Objects of the following type(s) are allowed in the list
285: * {@link Extra }
286: *
287: *
288: */
289: public List<Extra> getExtras() {
290: if (extras == null) {
291: extras = new ArrayList<Extra>();
292: }
293: return this.extras;
294: }
295:
296: }
297:
298: }
|