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.XmlType;
017: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
018: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
019:
020: /**
021: * <p>Java class for gles_texture_unit complex type.
022: *
023: * <p>The following schema fragment specifies the expected content contained within this class.
024: *
025: * <pre>
026: * <complexType name="gles_texture_unit">
027: * <complexContent>
028: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
029: * <sequence>
030: * <element name="surface" type="{http://www.w3.org/2001/XMLSchema}NCName" minOccurs="0"/>
031: * <element name="sampler_state" type="{http://www.w3.org/2001/XMLSchema}NCName" minOccurs="0"/>
032: * <element name="texcoord" minOccurs="0">
033: * <complexType>
034: * <complexContent>
035: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
036: * <attribute name="semantic" type="{http://www.w3.org/2001/XMLSchema}NCName" />
037: * </restriction>
038: * </complexContent>
039: * </complexType>
040: * </element>
041: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
042: * </sequence>
043: * <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
044: * </restriction>
045: * </complexContent>
046: * </complexType>
047: * </pre>
048: *
049: *
050: */
051: @XmlAccessorType(XmlAccessType.FIELD)
052: @XmlType(name="gles_texture_unit",propOrder={"surface","samplerState","texcoord","extras"})
053: public class GlesTextureUnit {
054:
055: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
056: protected String surface;
057: @XmlElement(name="sampler_state")
058: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
059: protected String samplerState;
060: protected GlesTextureUnit.Texcoord texcoord;
061: @XmlElement(name="extra")
062: protected List<Extra> extras;
063: @XmlAttribute
064: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
065: protected String sid;
066:
067: /**
068: * Gets the value of the surface property.
069: *
070: * @return
071: * possible object is
072: * {@link String }
073: *
074: */
075: public String getSurface() {
076: return surface;
077: }
078:
079: /**
080: * Sets the value of the surface property.
081: *
082: * @param value
083: * allowed object is
084: * {@link String }
085: *
086: */
087: public void setSurface(String value) {
088: this .surface = value;
089: }
090:
091: /**
092: * Gets the value of the samplerState property.
093: *
094: * @return
095: * possible object is
096: * {@link String }
097: *
098: */
099: public String getSamplerState() {
100: return samplerState;
101: }
102:
103: /**
104: * Sets the value of the samplerState property.
105: *
106: * @param value
107: * allowed object is
108: * {@link String }
109: *
110: */
111: public void setSamplerState(String value) {
112: this .samplerState = value;
113: }
114:
115: /**
116: * Gets the value of the texcoord property.
117: *
118: * @return
119: * possible object is
120: * {@link GlesTextureUnit.Texcoord }
121: *
122: */
123: public GlesTextureUnit.Texcoord getTexcoord() {
124: return texcoord;
125: }
126:
127: /**
128: * Sets the value of the texcoord property.
129: *
130: * @param value
131: * allowed object is
132: * {@link GlesTextureUnit.Texcoord }
133: *
134: */
135: public void setTexcoord(GlesTextureUnit.Texcoord value) {
136: this .texcoord = value;
137: }
138:
139: /**
140: * Gets the value of the extras property.
141: *
142: * <p>
143: * This accessor method returns a reference to the live list,
144: * not a snapshot. Therefore any modification you make to the
145: * returned list will be present inside the JAXB object.
146: * This is why there is not a <CODE>set</CODE> method for the extras property.
147: *
148: * <p>
149: * For example, to add a new item, do as follows:
150: * <pre>
151: * getExtras().add(newItem);
152: * </pre>
153: *
154: *
155: * <p>
156: * Objects of the following type(s) are allowed in the list
157: * {@link Extra }
158: *
159: *
160: */
161: public List<Extra> getExtras() {
162: if (extras == null) {
163: extras = new ArrayList<Extra>();
164: }
165: return this .extras;
166: }
167:
168: /**
169: * Gets the value of the sid property.
170: *
171: * @return
172: * possible object is
173: * {@link String }
174: *
175: */
176: public String getSid() {
177: return sid;
178: }
179:
180: /**
181: * Sets the value of the sid property.
182: *
183: * @param value
184: * allowed object is
185: * {@link String }
186: *
187: */
188: public void setSid(String value) {
189: this .sid = value;
190: }
191:
192: /**
193: * <p>Java class for anonymous complex type.
194: *
195: * <p>The following schema fragment specifies the expected content contained within this class.
196: *
197: * <pre>
198: * <complexType>
199: * <complexContent>
200: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
201: * <attribute name="semantic" type="{http://www.w3.org/2001/XMLSchema}NCName" />
202: * </restriction>
203: * </complexContent>
204: * </complexType>
205: * </pre>
206: *
207: *
208: */
209: @XmlAccessorType(XmlAccessType.FIELD)
210: @XmlType(name="")
211: public static class Texcoord {
212:
213: @XmlAttribute
214: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
215: protected String semantic;
216:
217: /**
218: * Gets the value of the semantic property.
219: *
220: * @return
221: * possible object is
222: * {@link String }
223: *
224: */
225: public String getSemantic() {
226: return semantic;
227: }
228:
229: /**
230: * Sets the value of the semantic property.
231: *
232: * @param value
233: * allowed object is
234: * {@link String }
235: *
236: */
237: public void setSemantic(String value) {
238: this.semantic = value;
239: }
240:
241: }
242:
243: }
|