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: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
019: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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="skeleton" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
032: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}bind_material" minOccurs="0"/>
033: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
034: * </sequence>
035: * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
036: * <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
037: * <attribute name="url" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
038: * </restriction>
039: * </complexContent>
040: * </complexType>
041: * </pre>
042: *
043: *
044: */
045: @XmlAccessorType(XmlAccessType.FIELD)
046: @XmlType(name="",propOrder={"skeletons","bindMaterial","extras"})
047: @XmlRootElement(name="instance_controller")
048: public class InstanceController {
049:
050: @XmlElement(name="skeleton")
051: protected List<String> skeletons;
052: @XmlElement(name="bind_material")
053: protected BindMaterial bindMaterial;
054: @XmlElement(name="extra")
055: protected List<Extra> extras;
056: @XmlAttribute
057: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
058: protected String name;
059: @XmlAttribute
060: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
061: protected String sid;
062: @XmlAttribute(required=true)
063: protected String url;
064:
065: /**
066: * Gets the value of the skeletons property.
067: *
068: * <p>
069: * This accessor method returns a reference to the live list,
070: * not a snapshot. Therefore any modification you make to the
071: * returned list will be present inside the JAXB object.
072: * This is why there is not a <CODE>set</CODE> method for the skeletons property.
073: *
074: * <p>
075: * For example, to add a new item, do as follows:
076: * <pre>
077: * getSkeletons().add(newItem);
078: * </pre>
079: *
080: *
081: * <p>
082: * Objects of the following type(s) are allowed in the list
083: * {@link String }
084: *
085: *
086: */
087: public List<String> getSkeletons() {
088: if (skeletons == null) {
089: skeletons = new ArrayList<String>();
090: }
091: return this .skeletons;
092: }
093:
094: /**
095: *
096: * Bind a specific material to a piece of geometry, binding varying and uniform parameters at the
097: * same time.
098: *
099: *
100: * @return
101: * possible object is
102: * {@link BindMaterial }
103: *
104: */
105: public BindMaterial getBindMaterial() {
106: return bindMaterial;
107: }
108:
109: /**
110: *
111: * Bind a specific material to a piece of geometry, binding varying and uniform parameters at the
112: * same time.
113: *
114: *
115: * @param value
116: * allowed object is
117: * {@link BindMaterial }
118: *
119: */
120: public void setBindMaterial(BindMaterial value) {
121: this .bindMaterial = 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 name property.
157: *
158: * @return
159: * possible object is
160: * {@link String }
161: *
162: */
163: public String getName() {
164: return name;
165: }
166:
167: /**
168: * Sets the value of the name property.
169: *
170: * @param value
171: * allowed object is
172: * {@link String }
173: *
174: */
175: public void setName(String value) {
176: this .name = value;
177: }
178:
179: /**
180: * Gets the value of the sid property.
181: *
182: * @return
183: * possible object is
184: * {@link String }
185: *
186: */
187: public String getSid() {
188: return sid;
189: }
190:
191: /**
192: * Sets the value of the sid property.
193: *
194: * @param value
195: * allowed object is
196: * {@link String }
197: *
198: */
199: public void setSid(String value) {
200: this .sid = value;
201: }
202:
203: /**
204: * Gets the value of the url property.
205: *
206: * @return
207: * possible object is
208: * {@link String }
209: *
210: */
211: public String getUrl() {
212: return url;
213: }
214:
215: /**
216: * Sets the value of the url property.
217: *
218: * @param value
219: * allowed object is
220: * {@link String }
221: *
222: */
223: public void setUrl(String value) {
224: this.url = value;
225: }
226:
227: }
|