Source Code Cross Referenced for COLLADA.java in  » 6.0-JDK-Modules » java-3d » org » collada » colladaschema » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » java 3d » org.collada.colladaschema 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


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.XmlElements;
017:        import javax.xml.bind.annotation.XmlRootElement;
018:        import javax.xml.bind.annotation.XmlType;
019:
020:        /**
021:         * <p>Java class for anonymous complex type.
022:         * 
023:         * <p>The following schema fragment specifies the expected content contained within this class.
024:         * 
025:         * <pre>
026:         * &lt;complexType>
027:         *   &lt;complexContent>
028:         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
029:         *       &lt;sequence>
030:         *         &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}asset"/>
031:         *         &lt;choice maxOccurs="unbounded" minOccurs="0">
032:         *           &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}library_animations"/>
033:         *           &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}library_animation_clips"/>
034:         *           &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}library_cameras"/>
035:         *           &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}library_controllers"/>
036:         *           &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}library_geometries"/>
037:         *           &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}library_effects"/>
038:         *           &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}library_force_fields"/>
039:         *           &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}library_images"/>
040:         *           &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}library_lights"/>
041:         *           &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}library_materials"/>
042:         *           &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}library_nodes"/>
043:         *           &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}library_physics_materials"/>
044:         *           &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}library_physics_models"/>
045:         *           &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}library_physics_scenes"/>
046:         *           &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}library_visual_scenes"/>
047:         *         &lt;/choice>
048:         *         &lt;element name="scene" minOccurs="0">
049:         *           &lt;complexType>
050:         *             &lt;complexContent>
051:         *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
052:         *                 &lt;sequence>
053:         *                   &lt;element name="instance_physics_scene" type="{http://www.collada.org/2005/11/COLLADASchema}InstanceWithExtra" maxOccurs="unbounded" minOccurs="0"/>
054:         *                   &lt;element name="instance_visual_scene" type="{http://www.collada.org/2005/11/COLLADASchema}InstanceWithExtra" minOccurs="0"/>
055:         *                   &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
056:         *                 &lt;/sequence>
057:         *               &lt;/restriction>
058:         *             &lt;/complexContent>
059:         *           &lt;/complexType>
060:         *         &lt;/element>
061:         *         &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
062:         *       &lt;/sequence>
063:         *       &lt;attribute name="version" use="required" type="{http://www.collada.org/2005/11/COLLADASchema}VersionType" />
064:         *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
065:         *     &lt;/restriction>
066:         *   &lt;/complexContent>
067:         * &lt;/complexType>
068:         * </pre>
069:         * 
070:         * 
071:         */
072:        @XmlAccessorType(XmlAccessType.FIELD)
073:        @XmlType(name="",propOrder={"asset","libraryLightsAndLibraryGeometriesAndLibraryAnimationClips","scene","extras"})
074:        @XmlRootElement(name="COLLADA")
075:        public class COLLADA {
076:
077:            @XmlElement(required=true)
078:            protected Asset asset;
079:            @XmlElements({@XmlElement(name="library_materials",type=LibraryMaterials.class),@XmlElement(name="library_force_fields",type=LibraryForceFields.class),@XmlElement(name="library_nodes",type=LibraryNodes.class),@XmlElement(name="library_effects",type=LibraryEffects.class),@XmlElement(name="library_animations",type=LibraryAnimations.class),@XmlElement(name="library_physics_scenes",type=LibraryPhysicsScenes.class),@XmlElement(name="library_cameras",type=LibraryCameras.class),@XmlElement(name="library_animation_clips",type=LibraryAnimationClips.class),@XmlElement(name="library_visual_scenes",type=LibraryVisualScenes.class),@XmlElement(name="library_images",type=LibraryImages.class),@XmlElement(name="library_physics_materials",type=LibraryPhysicsMaterials.class),@XmlElement(name="library_controllers",type=LibraryControllers.class),@XmlElement(name="library_lights",type=LibraryLights.class),@XmlElement(name="library_geometries",type=LibraryGeometries.class),@XmlElement(name="library_physics_models",type=LibraryPhysicsModels.class)})
080:            protected List<Object> libraryLightsAndLibraryGeometriesAndLibraryAnimationClips;
081:            protected COLLADA.Scene scene;
082:            @XmlElement(name="extra")
083:            protected List<Extra> extras;
084:            @XmlAttribute(required=true)
085:            protected String version;
086:            @XmlAttribute(namespace="http://www.w3.org/XML/1998/namespace")
087:            protected String base;
088:
089:            /**
090:             * 
091:             * 						The COLLADA element must contain an asset element.
092:             * 						
093:             * 
094:             * @return
095:             *     possible object is
096:             *     {@link Asset }
097:             *     
098:             */
099:            public Asset getAsset() {
100:                return asset;
101:            }
102:
103:            /**
104:             * 
105:             * 						The COLLADA element must contain an asset element.
106:             * 						
107:             * 
108:             * @param value
109:             *     allowed object is
110:             *     {@link Asset }
111:             *     
112:             */
113:            public void setAsset(Asset value) {
114:                this .asset = value;
115:            }
116:
117:            /**
118:             * 
119:             * 							The COLLADA element may contain any number of library_lights elements.
120:             * 							Gets the value of the libraryLightsAndLibraryGeometriesAndLibraryAnimationClips property.
121:             * 
122:             * <p>
123:             * This accessor method returns a reference to the live list,
124:             * not a snapshot. Therefore any modification you make to the
125:             * returned list will be present inside the JAXB object.
126:             * This is why there is not a <CODE>set</CODE> method for the libraryLightsAndLibraryGeometriesAndLibraryAnimationClips property.
127:             * 
128:             * <p>
129:             * For example, to add a new item, do as follows:
130:             * <pre>
131:             *    getLibraryLightsAndLibraryGeometriesAndLibraryAnimationClips().add(newItem);
132:             * </pre>
133:             * 
134:             * 
135:             * <p>
136:             * Objects of the following type(s) are allowed in the list
137:             * {@link LibraryMaterials }
138:             * {@link LibraryForceFields }
139:             * {@link LibraryNodes }
140:             * {@link LibraryEffects }
141:             * {@link LibraryAnimations }
142:             * {@link LibraryPhysicsScenes }
143:             * {@link LibraryCameras }
144:             * {@link LibraryAnimationClips }
145:             * {@link LibraryVisualScenes }
146:             * {@link LibraryImages }
147:             * {@link LibraryPhysicsMaterials }
148:             * {@link LibraryControllers }
149:             * {@link LibraryLights }
150:             * {@link LibraryGeometries }
151:             * {@link LibraryPhysicsModels }
152:             * 
153:             * 
154:             */
155:            public List<Object> getLibraryLightsAndLibraryGeometriesAndLibraryAnimationClips() {
156:                if (libraryLightsAndLibraryGeometriesAndLibraryAnimationClips == null) {
157:                    libraryLightsAndLibraryGeometriesAndLibraryAnimationClips = new ArrayList<Object>();
158:                }
159:                return this .libraryLightsAndLibraryGeometriesAndLibraryAnimationClips;
160:            }
161:
162:            /**
163:             * Gets the value of the scene property.
164:             * 
165:             * @return
166:             *     possible object is
167:             *     {@link COLLADA.Scene }
168:             *     
169:             */
170:            public COLLADA.Scene getScene() {
171:                return scene;
172:            }
173:
174:            /**
175:             * Sets the value of the scene property.
176:             * 
177:             * @param value
178:             *     allowed object is
179:             *     {@link COLLADA.Scene }
180:             *     
181:             */
182:            public void setScene(COLLADA.Scene value) {
183:                this .scene = value;
184:            }
185:
186:            /**
187:             * 
188:             * 						The extra element may appear any number of times.
189:             * 						Gets the value of the extras property.
190:             * 
191:             * <p>
192:             * This accessor method returns a reference to the live list,
193:             * not a snapshot. Therefore any modification you make to the
194:             * returned list will be present inside the JAXB object.
195:             * This is why there is not a <CODE>set</CODE> method for the extras property.
196:             * 
197:             * <p>
198:             * For example, to add a new item, do as follows:
199:             * <pre>
200:             *    getExtras().add(newItem);
201:             * </pre>
202:             * 
203:             * 
204:             * <p>
205:             * Objects of the following type(s) are allowed in the list
206:             * {@link Extra }
207:             * 
208:             * 
209:             */
210:            public List<Extra> getExtras() {
211:                if (extras == null) {
212:                    extras = new ArrayList<Extra>();
213:                }
214:                return this .extras;
215:            }
216:
217:            /**
218:             * Gets the value of the version property.
219:             * 
220:             * @return
221:             *     possible object is
222:             *     {@link String }
223:             *     
224:             */
225:            public String getVersion() {
226:                return version;
227:            }
228:
229:            /**
230:             * Sets the value of the version property.
231:             * 
232:             * @param value
233:             *     allowed object is
234:             *     {@link String }
235:             *     
236:             */
237:            public void setVersion(String value) {
238:                this .version = value;
239:            }
240:
241:            /**
242:             * 
243:             * 					The xml:base attribute allows you to define the base URI for this COLLADA document. See
244:             * 					http://www.w3.org/TR/xmlbase/ for more information.
245:             * 					
246:             * 
247:             * @return
248:             *     possible object is
249:             *     {@link String }
250:             *     
251:             */
252:            public String getBase() {
253:                return base;
254:            }
255:
256:            /**
257:             * 
258:             * 					The xml:base attribute allows you to define the base URI for this COLLADA document. See
259:             * 					http://www.w3.org/TR/xmlbase/ for more information.
260:             * 					
261:             * 
262:             * @param value
263:             *     allowed object is
264:             *     {@link String }
265:             *     
266:             */
267:            public void setBase(String value) {
268:                this .base = value;
269:            }
270:
271:            /**
272:             * <p>Java class for anonymous complex type.
273:             * 
274:             * <p>The following schema fragment specifies the expected content contained within this class.
275:             * 
276:             * <pre>
277:             * &lt;complexType>
278:             *   &lt;complexContent>
279:             *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
280:             *       &lt;sequence>
281:             *         &lt;element name="instance_physics_scene" type="{http://www.collada.org/2005/11/COLLADASchema}InstanceWithExtra" maxOccurs="unbounded" minOccurs="0"/>
282:             *         &lt;element name="instance_visual_scene" type="{http://www.collada.org/2005/11/COLLADASchema}InstanceWithExtra" minOccurs="0"/>
283:             *         &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
284:             *       &lt;/sequence>
285:             *     &lt;/restriction>
286:             *   &lt;/complexContent>
287:             * &lt;/complexType>
288:             * </pre>
289:             * 
290:             * 
291:             */
292:            @XmlAccessorType(XmlAccessType.FIELD)
293:            @XmlType(name="",propOrder={"instancePhysicsScenes","instanceVisualScene","extras"})
294:            public static class Scene {
295:
296:                @XmlElement(name="instance_physics_scene")
297:                protected List<InstanceWithExtra> instancePhysicsScenes;
298:                @XmlElement(name="instance_visual_scene")
299:                protected InstanceWithExtra instanceVisualScene;
300:                @XmlElement(name="extra")
301:                protected List<Extra> extras;
302:
303:                /**
304:                 * Gets the value of the instancePhysicsScenes property.
305:                 * 
306:                 * <p>
307:                 * This accessor method returns a reference to the live list,
308:                 * not a snapshot. Therefore any modification you make to the
309:                 * returned list will be present inside the JAXB object.
310:                 * This is why there is not a <CODE>set</CODE> method for the instancePhysicsScenes property.
311:                 * 
312:                 * <p>
313:                 * For example, to add a new item, do as follows:
314:                 * <pre>
315:                 *    getInstancePhysicsScenes().add(newItem);
316:                 * </pre>
317:                 * 
318:                 * 
319:                 * <p>
320:                 * Objects of the following type(s) are allowed in the list
321:                 * {@link InstanceWithExtra }
322:                 * 
323:                 * 
324:                 */
325:                public List<InstanceWithExtra> getInstancePhysicsScenes() {
326:                    if (instancePhysicsScenes == null) {
327:                        instancePhysicsScenes = new ArrayList<InstanceWithExtra>();
328:                    }
329:                    return this .instancePhysicsScenes;
330:                }
331:
332:                /**
333:                 * Gets the value of the instanceVisualScene property.
334:                 * 
335:                 * @return
336:                 *     possible object is
337:                 *     {@link InstanceWithExtra }
338:                 *     
339:                 */
340:                public InstanceWithExtra getInstanceVisualScene() {
341:                    return instanceVisualScene;
342:                }
343:
344:                /**
345:                 * Sets the value of the instanceVisualScene property.
346:                 * 
347:                 * @param value
348:                 *     allowed object is
349:                 *     {@link InstanceWithExtra }
350:                 *     
351:                 */
352:                public void setInstanceVisualScene(InstanceWithExtra value) {
353:                    this .instanceVisualScene = value;
354:                }
355:
356:                /**
357:                 * 
358:                 * 									The extra element may appear any number of times.
359:                 * 									Gets the value of the extras property.
360:                 * 
361:                 * <p>
362:                 * This accessor method returns a reference to the live list,
363:                 * not a snapshot. Therefore any modification you make to the
364:                 * returned list will be present inside the JAXB object.
365:                 * This is why there is not a <CODE>set</CODE> method for the extras property.
366:                 * 
367:                 * <p>
368:                 * For example, to add a new item, do as follows:
369:                 * <pre>
370:                 *    getExtras().add(newItem);
371:                 * </pre>
372:                 * 
373:                 * 
374:                 * <p>
375:                 * Objects of the following type(s) are allowed in the list
376:                 * {@link Extra }
377:                 * 
378:                 * 
379:                 */
380:                public List<Extra> getExtras() {
381:                    if (extras == null) {
382:                        extras = new ArrayList<Extra>();
383:                    }
384:                    return this.extras;
385:                }
386:
387:            }
388:
389:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.