//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.03.17 at 08:38:02 AM PDT
//
package org.collada.colladaschema;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlList;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="input" type="{http://www.collada.org/2005/11/COLLADASchema}InputLocalOffset" maxOccurs="unbounded" minOccurs="0"/>
* <choice maxOccurs="unbounded" minOccurs="0">
* <element ref="{http://www.collada.org/2005/11/COLLADASchema}p"/>
* <element name="ph">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.collada.org/2005/11/COLLADASchema}p"/>
* <element name="h" type="{http://www.collada.org/2005/11/COLLADASchema}ListOfUInts" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </choice>
* <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="count" use="required" type="{http://www.collada.org/2005/11/COLLADASchema}uint" />
* <attribute name="material" type="{http://www.w3.org/2001/XMLSchema}NCName" />
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"inputs",
"phsAndPS",
"extras"
})
@XmlRootElement(name = "polygons")
public class Polygons {
@XmlElement(name = "input")
protected List<InputLocalOffset> inputs;
@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)
})
protected List<JAXBElement<?>> phsAndPS;
@XmlElement(name = "extra")
protected List<Extra> extras;
@XmlAttribute(required = true)
protected BigInteger count;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String material;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String name;
/**
* Gets the value of the inputs property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the inputs property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getInputs().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link InputLocalOffset }
*
*
*/
public List<InputLocalOffset> getInputs() {
if (inputs == null) {
inputs = new ArrayList<InputLocalOffset>();
}
return this.inputs;
}
/**
* Gets the value of the phsAndPS property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the phsAndPS property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getPhsAndPS().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link Polygons.Ph }{@code >}
* {@link JAXBElement }{@code <}{@link List }{@code <}{@link BigInteger }{@code >}{@code >}
*
*
*/
public List<JAXBElement<?>> getPhsAndPS() {
if (phsAndPS == null) {
phsAndPS = new ArrayList<JAXBElement<?>>();
}
return this.phsAndPS;
}
/**
*
* The extra element may appear any number of times.
* Gets the value of the extras property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the extras property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getExtras().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Extra }
*
*
*/
public List<Extra> getExtras() {
if (extras == null) {
extras = new ArrayList<Extra>();
}
return this.extras;
}
/**
* Gets the value of the count property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getCount() {
return count;
}
/**
* Sets the value of the count property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setCount(BigInteger value) {
this.count = value;
}
/**
* Gets the value of the material property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMaterial() {
return material;
}
/**
* Sets the value of the material property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMaterial(String value) {
this.material = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.collada.org/2005/11/COLLADASchema}p"/>
* <element name="h" type="{http://www.collada.org/2005/11/COLLADASchema}ListOfUInts" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"p",
"hs"
})
public static class Ph {
@XmlList
@XmlElement(required = true)
protected List<BigInteger> p;
@XmlElementRef(name = "h", namespace = "http://www.collada.org/2005/11/COLLADASchema", type = JAXBElement.class)
protected List<JAXBElement<List<BigInteger>>> hs;
/**
*
* Theere may only be one p element.
* Gets the value of the p property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the p property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getP().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link BigInteger }
*
*
*/
public List<BigInteger> getP() {
if (p == null) {
p = new ArrayList<BigInteger>();
}
return this.p;
}
/**
* Gets the value of the hs property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the hs property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getHS().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link List }{@code <}{@link BigInteger }{@code >}{@code >}
*
*
*/
public List<JAXBElement<List<BigInteger>>> getHS() {
if (hs == null) {
hs = new ArrayList<JAXBElement<List<BigInteger>>>();
}
return this.hs;
}
}
}
|