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.math.BigInteger;
011: import java.util.ArrayList;
012: import java.util.List;
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.XmlList;
018: import javax.xml.bind.annotation.XmlRootElement;
019: import javax.xml.bind.annotation.XmlType;
020:
021: /**
022: * <p>Java class for anonymous complex type.
023: *
024: * <p>The following schema fragment specifies the expected content contained within this class.
025: *
026: * <pre>
027: * <complexType>
028: * <complexContent>
029: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
030: * <sequence>
031: * <element name="bind_shape_matrix" type="{http://www.collada.org/2005/11/COLLADASchema}float4x4" minOccurs="0"/>
032: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}source" maxOccurs="unbounded" minOccurs="3"/>
033: * <element name="joints">
034: * <complexType>
035: * <complexContent>
036: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
037: * <sequence>
038: * <element name="input" type="{http://www.collada.org/2005/11/COLLADASchema}InputLocal" maxOccurs="unbounded" minOccurs="2"/>
039: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
040: * </sequence>
041: * </restriction>
042: * </complexContent>
043: * </complexType>
044: * </element>
045: * <element name="vertex_weights">
046: * <complexType>
047: * <complexContent>
048: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
049: * <sequence>
050: * <element name="input" type="{http://www.collada.org/2005/11/COLLADASchema}InputLocalOffset" maxOccurs="unbounded" minOccurs="2"/>
051: * <element name="vcount" type="{http://www.collada.org/2005/11/COLLADASchema}ListOfUInts" minOccurs="0"/>
052: * <element name="v" type="{http://www.collada.org/2005/11/COLLADASchema}ListOfInts" minOccurs="0"/>
053: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
054: * </sequence>
055: * <attribute name="count" use="required" type="{http://www.collada.org/2005/11/COLLADASchema}uint" />
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="source" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
063: * </restriction>
064: * </complexContent>
065: * </complexType>
066: * </pre>
067: *
068: *
069: */
070: @XmlAccessorType(XmlAccessType.FIELD)
071: @XmlType(name="",propOrder={"bindShapeMatrix","sources","joints","vertexWeights","extras"})
072: @XmlRootElement(name="skin")
073: public class Skin {
074:
075: @XmlList
076: @XmlElement(name="bind_shape_matrix",type=Double.class)
077: protected List<Double> bindShapeMatrix;
078: @XmlElement(name="source",required=true)
079: protected List<Source> sources;
080: @XmlElement(required=true)
081: protected Skin.Joints joints;
082: @XmlElement(name="vertex_weights",required=true)
083: protected Skin.VertexWeights vertexWeights;
084: @XmlElement(name="extra")
085: protected List<Extra> extras;
086: @XmlAttribute(required=true)
087: protected String source;
088:
089: /**
090: * Gets the value of the bindShapeMatrix property.
091: *
092: * <p>
093: * This accessor method returns a reference to the live list,
094: * not a snapshot. Therefore any modification you make to the
095: * returned list will be present inside the JAXB object.
096: * This is why there is not a <CODE>set</CODE> method for the bindShapeMatrix property.
097: *
098: * <p>
099: * For example, to add a new item, do as follows:
100: * <pre>
101: * getBindShapeMatrix().add(newItem);
102: * </pre>
103: *
104: *
105: * <p>
106: * Objects of the following type(s) are allowed in the list
107: * {@link Double }
108: *
109: *
110: */
111: public List<Double> getBindShapeMatrix() {
112: if (bindShapeMatrix == null) {
113: bindShapeMatrix = new ArrayList<Double>();
114: }
115: return this .bindShapeMatrix;
116: }
117:
118: /**
119: *
120: * The skin element must contain at least three source elements.
121: * Gets the value of the sources property.
122: *
123: * <p>
124: * This accessor method returns a reference to the live list,
125: * not a snapshot. Therefore any modification you make to the
126: * returned list will be present inside the JAXB object.
127: * This is why there is not a <CODE>set</CODE> method for the sources property.
128: *
129: * <p>
130: * For example, to add a new item, do as follows:
131: * <pre>
132: * getSources().add(newItem);
133: * </pre>
134: *
135: *
136: * <p>
137: * Objects of the following type(s) are allowed in the list
138: * {@link Source }
139: *
140: *
141: */
142: public List<Source> getSources() {
143: if (sources == null) {
144: sources = new ArrayList<Source>();
145: }
146: return this .sources;
147: }
148:
149: /**
150: * Gets the value of the joints property.
151: *
152: * @return
153: * possible object is
154: * {@link Skin.Joints }
155: *
156: */
157: public Skin.Joints getJoints() {
158: return joints;
159: }
160:
161: /**
162: * Sets the value of the joints property.
163: *
164: * @param value
165: * allowed object is
166: * {@link Skin.Joints }
167: *
168: */
169: public void setJoints(Skin.Joints value) {
170: this .joints = value;
171: }
172:
173: /**
174: * Gets the value of the vertexWeights property.
175: *
176: * @return
177: * possible object is
178: * {@link Skin.VertexWeights }
179: *
180: */
181: public Skin.VertexWeights getVertexWeights() {
182: return vertexWeights;
183: }
184:
185: /**
186: * Sets the value of the vertexWeights property.
187: *
188: * @param value
189: * allowed object is
190: * {@link Skin.VertexWeights }
191: *
192: */
193: public void setVertexWeights(Skin.VertexWeights value) {
194: this .vertexWeights = value;
195: }
196:
197: /**
198: *
199: * The extra element may appear any number of times.
200: * Gets the value of the extras property.
201: *
202: * <p>
203: * This accessor method returns a reference to the live list,
204: * not a snapshot. Therefore any modification you make to the
205: * returned list will be present inside the JAXB object.
206: * This is why there is not a <CODE>set</CODE> method for the extras property.
207: *
208: * <p>
209: * For example, to add a new item, do as follows:
210: * <pre>
211: * getExtras().add(newItem);
212: * </pre>
213: *
214: *
215: * <p>
216: * Objects of the following type(s) are allowed in the list
217: * {@link Extra }
218: *
219: *
220: */
221: public List<Extra> getExtras() {
222: if (extras == null) {
223: extras = new ArrayList<Extra>();
224: }
225: return this .extras;
226: }
227:
228: /**
229: * Gets the value of the source property.
230: *
231: * @return
232: * possible object is
233: * {@link String }
234: *
235: */
236: public String getSource() {
237: return source;
238: }
239:
240: /**
241: * Sets the value of the source property.
242: *
243: * @param value
244: * allowed object is
245: * {@link String }
246: *
247: */
248: public void setSource(String value) {
249: this .source = value;
250: }
251:
252: /**
253: * <p>Java class for anonymous complex type.
254: *
255: * <p>The following schema fragment specifies the expected content contained within this class.
256: *
257: * <pre>
258: * <complexType>
259: * <complexContent>
260: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
261: * <sequence>
262: * <element name="input" type="{http://www.collada.org/2005/11/COLLADASchema}InputLocal" maxOccurs="unbounded" minOccurs="2"/>
263: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
264: * </sequence>
265: * </restriction>
266: * </complexContent>
267: * </complexType>
268: * </pre>
269: *
270: *
271: */
272: @XmlAccessorType(XmlAccessType.FIELD)
273: @XmlType(name="",propOrder={"inputs","extras"})
274: public static class Joints {
275:
276: @XmlElement(name="input",required=true)
277: protected List<InputLocal> inputs;
278: @XmlElement(name="extra")
279: protected List<Extra> extras;
280:
281: /**
282: * Gets the value of the inputs property.
283: *
284: * <p>
285: * This accessor method returns a reference to the live list,
286: * not a snapshot. Therefore any modification you make to the
287: * returned list will be present inside the JAXB object.
288: * This is why there is not a <CODE>set</CODE> method for the inputs property.
289: *
290: * <p>
291: * For example, to add a new item, do as follows:
292: * <pre>
293: * getInputs().add(newItem);
294: * </pre>
295: *
296: *
297: * <p>
298: * Objects of the following type(s) are allowed in the list
299: * {@link InputLocal }
300: *
301: *
302: */
303: public List<InputLocal> getInputs() {
304: if (inputs == null) {
305: inputs = new ArrayList<InputLocal>();
306: }
307: return this .inputs;
308: }
309:
310: /**
311: *
312: * The extra element may appear any number of times.
313: * Gets the value of the extras property.
314: *
315: * <p>
316: * This accessor method returns a reference to the live list,
317: * not a snapshot. Therefore any modification you make to the
318: * returned list will be present inside the JAXB object.
319: * This is why there is not a <CODE>set</CODE> method for the extras property.
320: *
321: * <p>
322: * For example, to add a new item, do as follows:
323: * <pre>
324: * getExtras().add(newItem);
325: * </pre>
326: *
327: *
328: * <p>
329: * Objects of the following type(s) are allowed in the list
330: * {@link Extra }
331: *
332: *
333: */
334: public List<Extra> getExtras() {
335: if (extras == null) {
336: extras = new ArrayList<Extra>();
337: }
338: return this .extras;
339: }
340:
341: }
342:
343: /**
344: * <p>Java class for anonymous complex type.
345: *
346: * <p>The following schema fragment specifies the expected content contained within this class.
347: *
348: * <pre>
349: * <complexType>
350: * <complexContent>
351: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
352: * <sequence>
353: * <element name="input" type="{http://www.collada.org/2005/11/COLLADASchema}InputLocalOffset" maxOccurs="unbounded" minOccurs="2"/>
354: * <element name="vcount" type="{http://www.collada.org/2005/11/COLLADASchema}ListOfUInts" minOccurs="0"/>
355: * <element name="v" type="{http://www.collada.org/2005/11/COLLADASchema}ListOfInts" minOccurs="0"/>
356: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
357: * </sequence>
358: * <attribute name="count" use="required" type="{http://www.collada.org/2005/11/COLLADASchema}uint" />
359: * </restriction>
360: * </complexContent>
361: * </complexType>
362: * </pre>
363: *
364: *
365: */
366: @XmlAccessorType(XmlAccessType.FIELD)
367: @XmlType(name="",propOrder={"inputs","vcount","v","extras"})
368: public static class VertexWeights {
369:
370: @XmlElement(name="input",required=true)
371: protected List<InputLocalOffset> inputs;
372: @XmlList
373: protected List<BigInteger> vcount;
374: @XmlList
375: @XmlElement(type=Long.class)
376: protected List<Long> v;
377: @XmlElement(name="extra")
378: protected List<Extra> extras;
379: @XmlAttribute(required=true)
380: protected BigInteger count;
381:
382: /**
383: * Gets the value of the inputs property.
384: *
385: * <p>
386: * This accessor method returns a reference to the live list,
387: * not a snapshot. Therefore any modification you make to the
388: * returned list will be present inside the JAXB object.
389: * This is why there is not a <CODE>set</CODE> method for the inputs property.
390: *
391: * <p>
392: * For example, to add a new item, do as follows:
393: * <pre>
394: * getInputs().add(newItem);
395: * </pre>
396: *
397: *
398: * <p>
399: * Objects of the following type(s) are allowed in the list
400: * {@link InputLocalOffset }
401: *
402: *
403: */
404: public List<InputLocalOffset> getInputs() {
405: if (inputs == null) {
406: inputs = new ArrayList<InputLocalOffset>();
407: }
408: return this .inputs;
409: }
410:
411: /**
412: * Gets the value of the vcount property.
413: *
414: * <p>
415: * This accessor method returns a reference to the live list,
416: * not a snapshot. Therefore any modification you make to the
417: * returned list will be present inside the JAXB object.
418: * This is why there is not a <CODE>set</CODE> method for the vcount property.
419: *
420: * <p>
421: * For example, to add a new item, do as follows:
422: * <pre>
423: * getVcount().add(newItem);
424: * </pre>
425: *
426: *
427: * <p>
428: * Objects of the following type(s) are allowed in the list
429: * {@link BigInteger }
430: *
431: *
432: */
433: public List<BigInteger> getVcount() {
434: if (vcount == null) {
435: vcount = new ArrayList<BigInteger>();
436: }
437: return this .vcount;
438: }
439:
440: /**
441: * Gets the value of the v property.
442: *
443: * <p>
444: * This accessor method returns a reference to the live list,
445: * not a snapshot. Therefore any modification you make to the
446: * returned list will be present inside the JAXB object.
447: * This is why there is not a <CODE>set</CODE> method for the v property.
448: *
449: * <p>
450: * For example, to add a new item, do as follows:
451: * <pre>
452: * getV().add(newItem);
453: * </pre>
454: *
455: *
456: * <p>
457: * Objects of the following type(s) are allowed in the list
458: * {@link Long }
459: *
460: *
461: */
462: public List<Long> getV() {
463: if (v == null) {
464: v = new ArrayList<Long>();
465: }
466: return this .v;
467: }
468:
469: /**
470: *
471: * The extra element may appear any number of times.
472: * Gets the value of the extras property.
473: *
474: * <p>
475: * This accessor method returns a reference to the live list,
476: * not a snapshot. Therefore any modification you make to the
477: * returned list will be present inside the JAXB object.
478: * This is why there is not a <CODE>set</CODE> method for the extras property.
479: *
480: * <p>
481: * For example, to add a new item, do as follows:
482: * <pre>
483: * getExtras().add(newItem);
484: * </pre>
485: *
486: *
487: * <p>
488: * Objects of the following type(s) are allowed in the list
489: * {@link Extra }
490: *
491: *
492: */
493: public List<Extra> getExtras() {
494: if (extras == null) {
495: extras = new ArrayList<Extra>();
496: }
497: return this .extras;
498: }
499:
500: /**
501: * Gets the value of the count property.
502: *
503: * @return
504: * possible object is
505: * {@link BigInteger }
506: *
507: */
508: public BigInteger getCount() {
509: return count;
510: }
511:
512: /**
513: * Sets the value of the count property.
514: *
515: * @param value
516: * allowed object is
517: * {@link BigInteger }
518: *
519: */
520: public void setCount(BigInteger value) {
521: this.count = value;
522: }
523:
524: }
525:
526: }
|