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.JAXBElement;
014: import javax.xml.bind.annotation.XmlAccessType;
015: import javax.xml.bind.annotation.XmlAccessorType;
016: import javax.xml.bind.annotation.XmlAttribute;
017: import javax.xml.bind.annotation.XmlElement;
018: import javax.xml.bind.annotation.XmlElementRef;
019: import javax.xml.bind.annotation.XmlElementRefs;
020: import javax.xml.bind.annotation.XmlList;
021: import javax.xml.bind.annotation.XmlRootElement;
022: import javax.xml.bind.annotation.XmlType;
023: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
024: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
025:
026: /**
027: * <p>Java class for anonymous complex type.
028: *
029: * <p>The following schema fragment specifies the expected content contained within this class.
030: *
031: * <pre>
032: * <complexType>
033: * <complexContent>
034: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
035: * <sequence>
036: * <element name="input" type="{http://www.collada.org/2005/11/COLLADASchema}InputLocalOffset" maxOccurs="unbounded" minOccurs="0"/>
037: * <choice maxOccurs="unbounded" minOccurs="0">
038: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}p"/>
039: * <element name="ph">
040: * <complexType>
041: * <complexContent>
042: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
043: * <sequence>
044: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}p"/>
045: * <element name="h" type="{http://www.collada.org/2005/11/COLLADASchema}ListOfUInts" maxOccurs="unbounded"/>
046: * </sequence>
047: * </restriction>
048: * </complexContent>
049: * </complexType>
050: * </element>
051: * </choice>
052: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
053: * </sequence>
054: * <attribute name="count" use="required" type="{http://www.collada.org/2005/11/COLLADASchema}uint" />
055: * <attribute name="material" type="{http://www.w3.org/2001/XMLSchema}NCName" />
056: * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
057: * </restriction>
058: * </complexContent>
059: * </complexType>
060: * </pre>
061: *
062: *
063: */
064: @XmlAccessorType(XmlAccessType.FIELD)
065: @XmlType(name="",propOrder={"inputs","phsAndPS","extras"})
066: @XmlRootElement(name="polygons")
067: public class Polygons {
068:
069: @XmlElement(name="input")
070: protected List<InputLocalOffset> inputs;
071: @XmlElementRefs({@XmlElementRef(name="ph",namespace="http://www.collada.org/2005/11/COLLADASchema",type=JAXBElement.class),@XmlElementRef(name="p",namespace="http://www.collada.org/2005/11/COLLADASchema",type=JAXBElement.class)})
072: protected List<JAXBElement<?>> phsAndPS;
073: @XmlElement(name="extra")
074: protected List<Extra> extras;
075: @XmlAttribute(required=true)
076: protected BigInteger count;
077: @XmlAttribute
078: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
079: protected String material;
080: @XmlAttribute
081: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
082: protected String name;
083:
084: /**
085: * Gets the value of the inputs property.
086: *
087: * <p>
088: * This accessor method returns a reference to the live list,
089: * not a snapshot. Therefore any modification you make to the
090: * returned list will be present inside the JAXB object.
091: * This is why there is not a <CODE>set</CODE> method for the inputs property.
092: *
093: * <p>
094: * For example, to add a new item, do as follows:
095: * <pre>
096: * getInputs().add(newItem);
097: * </pre>
098: *
099: *
100: * <p>
101: * Objects of the following type(s) are allowed in the list
102: * {@link InputLocalOffset }
103: *
104: *
105: */
106: public List<InputLocalOffset> getInputs() {
107: if (inputs == null) {
108: inputs = new ArrayList<InputLocalOffset>();
109: }
110: return this .inputs;
111: }
112:
113: /**
114: * Gets the value of the phsAndPS property.
115: *
116: * <p>
117: * This accessor method returns a reference to the live list,
118: * not a snapshot. Therefore any modification you make to the
119: * returned list will be present inside the JAXB object.
120: * This is why there is not a <CODE>set</CODE> method for the phsAndPS property.
121: *
122: * <p>
123: * For example, to add a new item, do as follows:
124: * <pre>
125: * getPhsAndPS().add(newItem);
126: * </pre>
127: *
128: *
129: * <p>
130: * Objects of the following type(s) are allowed in the list
131: * {@link JAXBElement }{@code <}{@link Polygons.Ph }{@code >}
132: * {@link JAXBElement }{@code <}{@link List }{@code <}{@link BigInteger }{@code >}{@code >}
133: *
134: *
135: */
136: public List<JAXBElement<?>> getPhsAndPS() {
137: if (phsAndPS == null) {
138: phsAndPS = new ArrayList<JAXBElement<?>>();
139: }
140: return this .phsAndPS;
141: }
142:
143: /**
144: *
145: * The extra element may appear any number of times.
146: * Gets the value of the extras property.
147: *
148: * <p>
149: * This accessor method returns a reference to the live list,
150: * not a snapshot. Therefore any modification you make to the
151: * returned list will be present inside the JAXB object.
152: * This is why there is not a <CODE>set</CODE> method for the extras property.
153: *
154: * <p>
155: * For example, to add a new item, do as follows:
156: * <pre>
157: * getExtras().add(newItem);
158: * </pre>
159: *
160: *
161: * <p>
162: * Objects of the following type(s) are allowed in the list
163: * {@link Extra }
164: *
165: *
166: */
167: public List<Extra> getExtras() {
168: if (extras == null) {
169: extras = new ArrayList<Extra>();
170: }
171: return this .extras;
172: }
173:
174: /**
175: * Gets the value of the count property.
176: *
177: * @return
178: * possible object is
179: * {@link BigInteger }
180: *
181: */
182: public BigInteger getCount() {
183: return count;
184: }
185:
186: /**
187: * Sets the value of the count property.
188: *
189: * @param value
190: * allowed object is
191: * {@link BigInteger }
192: *
193: */
194: public void setCount(BigInteger value) {
195: this .count = value;
196: }
197:
198: /**
199: * Gets the value of the material property.
200: *
201: * @return
202: * possible object is
203: * {@link String }
204: *
205: */
206: public String getMaterial() {
207: return material;
208: }
209:
210: /**
211: * Sets the value of the material property.
212: *
213: * @param value
214: * allowed object is
215: * {@link String }
216: *
217: */
218: public void setMaterial(String value) {
219: this .material = value;
220: }
221:
222: /**
223: * Gets the value of the name property.
224: *
225: * @return
226: * possible object is
227: * {@link String }
228: *
229: */
230: public String getName() {
231: return name;
232: }
233:
234: /**
235: * Sets the value of the name property.
236: *
237: * @param value
238: * allowed object is
239: * {@link String }
240: *
241: */
242: public void setName(String value) {
243: this .name = value;
244: }
245:
246: /**
247: * <p>Java class for anonymous complex type.
248: *
249: * <p>The following schema fragment specifies the expected content contained within this class.
250: *
251: * <pre>
252: * <complexType>
253: * <complexContent>
254: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
255: * <sequence>
256: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}p"/>
257: * <element name="h" type="{http://www.collada.org/2005/11/COLLADASchema}ListOfUInts" maxOccurs="unbounded"/>
258: * </sequence>
259: * </restriction>
260: * </complexContent>
261: * </complexType>
262: * </pre>
263: *
264: *
265: */
266: @XmlAccessorType(XmlAccessType.FIELD)
267: @XmlType(name="",propOrder={"p","hs"})
268: public static class Ph {
269:
270: @XmlList
271: @XmlElement(required=true)
272: protected List<BigInteger> p;
273: @XmlElementRef(name="h",namespace="http://www.collada.org/2005/11/COLLADASchema",type=JAXBElement.class)
274: protected List<JAXBElement<List<BigInteger>>> hs;
275:
276: /**
277: *
278: * Theere may only be one p element.
279: * Gets the value of the p property.
280: *
281: * <p>
282: * This accessor method returns a reference to the live list,
283: * not a snapshot. Therefore any modification you make to the
284: * returned list will be present inside the JAXB object.
285: * This is why there is not a <CODE>set</CODE> method for the p property.
286: *
287: * <p>
288: * For example, to add a new item, do as follows:
289: * <pre>
290: * getP().add(newItem);
291: * </pre>
292: *
293: *
294: * <p>
295: * Objects of the following type(s) are allowed in the list
296: * {@link BigInteger }
297: *
298: *
299: */
300: public List<BigInteger> getP() {
301: if (p == null) {
302: p = new ArrayList<BigInteger>();
303: }
304: return this .p;
305: }
306:
307: /**
308: * Gets the value of the hs property.
309: *
310: * <p>
311: * This accessor method returns a reference to the live list,
312: * not a snapshot. Therefore any modification you make to the
313: * returned list will be present inside the JAXB object.
314: * This is why there is not a <CODE>set</CODE> method for the hs property.
315: *
316: * <p>
317: * For example, to add a new item, do as follows:
318: * <pre>
319: * getHS().add(newItem);
320: * </pre>
321: *
322: *
323: * <p>
324: * Objects of the following type(s) are allowed in the list
325: * {@link JAXBElement }{@code <}{@link List }{@code <}{@link BigInteger }{@code >}{@code >}
326: *
327: *
328: */
329: public List<JAXBElement<List<BigInteger>>> getHS() {
330: if (hs == null) {
331: hs = new ArrayList<JAXBElement<List<BigInteger>>>();
332: }
333: return this.hs;
334: }
335:
336: }
337:
338: }
|