org.collada._2005._11.colladaschema
Class COLLADA

java.lang.Object
  extended by org.collada._2005._11.colladaschema.COLLADA

public class COLLADA
extends Object

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.collada.org/2005/11/COLLADASchema}asset"/>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_animations"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_animation_clips"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_cameras"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_controllers"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_geometries"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_effects"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_force_fields"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_images"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_lights"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_materials"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_nodes"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_physics_materials"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_physics_models"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_physics_scenes"/>
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}library_visual_scenes"/>
         </choice>
         <element name="scene" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="instance_physics_scene" type="{http://www.collada.org/2005/11/COLLADASchema}InstanceWithExtra" maxOccurs="unbounded" minOccurs="0"/>
                   <element name="instance_visual_scene" type="{http://www.collada.org/2005/11/COLLADASchema}InstanceWithExtra" minOccurs="0"/>
                   <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="version" use="required" type="{http://www.collada.org/2005/11/COLLADASchema}VersionType" />
       <attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class COLLADA.Scene
          Java class for anonymous complex type.
 
Field Summary
protected  Asset asset
           
protected  String base
           
protected  List<Extra> extra
           
protected  List<Object> libraryAnimationsOrLibraryAnimationClipsOrLibraryCameras
           
protected  COLLADA.Scene scene
           
protected  String version
           
 
Constructor Summary
COLLADA()
           
 
Method Summary
 Asset getAsset()
          The COLLADA element must contain an asset element.
 String getBase()
          The xml:base attribute allows you to define the base URI for this COLLADA document.
 List<Extra> getExtra()
          The extra element may appear any number of times.
 List<Object> getLibraryAnimationsOrLibraryAnimationClipsOrLibraryCameras()
          Gets the value of the libraryAnimationsOrLibraryAnimationClipsOrLibraryCameras property.
 COLLADA.Scene getScene()
          Gets the value of the scene property.
 String getVersion()
          Gets the value of the version property.
 void setAsset(Asset value)
          The COLLADA element must contain an asset element.
 void setBase(String value)
          The xml:base attribute allows you to define the base URI for this COLLADA document.
 void setScene(COLLADA.Scene value)
          Sets the value of the scene property.
 void setVersion(String value)
          Sets the value of the version property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

asset

protected Asset asset

libraryAnimationsOrLibraryAnimationClipsOrLibraryCameras

protected List<Object> libraryAnimationsOrLibraryAnimationClipsOrLibraryCameras

scene

protected COLLADA.Scene scene

extra

protected List<Extra> extra

version

protected String version

base

protected String base
Constructor Detail

COLLADA

public COLLADA()
Method Detail

getAsset

public Asset getAsset()
The COLLADA element must contain an asset element.

Returns:
possible object is Asset

setAsset

public void setAsset(Asset value)
The COLLADA element must contain an asset element.

Parameters:
value - allowed object is Asset

getLibraryAnimationsOrLibraryAnimationClipsOrLibraryCameras

public List<Object> getLibraryAnimationsOrLibraryAnimationClipsOrLibraryCameras()
Gets the value of the libraryAnimationsOrLibraryAnimationClipsOrLibraryCameras property.

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 set method for the libraryAnimationsOrLibraryAnimationClipsOrLibraryCameras property.

For example, to add a new item, do as follows:

    getLibraryAnimationsOrLibraryAnimationClipsOrLibraryCameras().add(newItem);
 

Objects of the following type(s) are allowed in the list LibraryControllers LibraryNodes LibraryVisualScenes LibraryCameras LibraryPhysicsMaterials LibraryAnimationClips LibraryPhysicsScenes LibraryLights LibraryPhysicsModels LibraryMaterials LibraryAnimations LibraryImages LibraryEffects LibraryForceFields LibraryGeometries


getScene

public COLLADA.Scene getScene()
Gets the value of the scene property.

Returns:
possible object is COLLADA.Scene

setScene

public void setScene(COLLADA.Scene value)
Sets the value of the scene property.

Parameters:
value - allowed object is COLLADA.Scene

getExtra

public List<Extra> getExtra()
The extra element may appear any number of times. Gets the value of the extra property.

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 set method for the extra property.

For example, to add a new item, do as follows:

    getExtra().add(newItem);
 

Objects of the following type(s) are allowed in the list Extra


getVersion

public String getVersion()
Gets the value of the version property.

Returns:
possible object is String

setVersion

public void setVersion(String value)
Sets the value of the version property.

Parameters:
value - allowed object is String

getBase

public String getBase()
The xml:base attribute allows you to define the base URI for this COLLADA document. See http://www.w3.org/TR/xmlbase/ for more information.

Returns:
possible object is String

setBase

public void setBase(String value)
The xml:base attribute allows you to define the base URI for this COLLADA document. See http://www.w3.org/TR/xmlbase/ for more information.

Parameters:
value - allowed object is String

CroftSoft Javadoc

CroftSoft COLLADA JAXB Javadoc (2006-11-13 15:08:25)