org.collada._2005._11.colladaschema
Class ProfileGLSL.Type

java.lang.Object
  extended by org.collada._2005._11.colladaschema.ProfileGLSL.Type
Enclosing class:
ProfileGLSL

public static class ProfileGLSL.Type
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" minOccurs="0"/>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="code" type="{http://www.collada.org/2005/11/COLLADASchema}fx_code_profile"/>
           <element name="include" type="{http://www.collada.org/2005/11/COLLADASchema}fx_include_common"/>
         </choice>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element ref="{http://www.collada.org/2005/11/COLLADASchema}image"/>
           <element name="newparam" type="{http://www.collada.org/2005/11/COLLADASchema}glsl_newparam"/>
         </choice>
         <element name="technique" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="annotate" type="{http://www.collada.org/2005/11/COLLADASchema}fx_annotate_common" maxOccurs="unbounded" minOccurs="0"/>
                   <choice maxOccurs="unbounded" minOccurs="0">
                     <element name="code" type="{http://www.collada.org/2005/11/COLLADASchema}fx_code_profile"/>
                     <element name="include" type="{http://www.collada.org/2005/11/COLLADASchema}fx_include_common"/>
                   </choice>
                   <choice maxOccurs="unbounded" minOccurs="0">
                     <element ref="{http://www.collada.org/2005/11/COLLADASchema}image"/>
                     <element name="newparam" type="{http://www.collada.org/2005/11/COLLADASchema}glsl_newparam"/>
                     <element name="setparam" type="{http://www.collada.org/2005/11/COLLADASchema}glsl_setparam"/>
                   </choice>
                   <element name="pass" maxOccurs="unbounded">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <element name="annotate" type="{http://www.collada.org/2005/11/COLLADASchema}fx_annotate_common" maxOccurs="unbounded" minOccurs="0"/>
                             <element name="color_target" type="{http://www.collada.org/2005/11/COLLADASchema}fx_colortarget_common" maxOccurs="unbounded" minOccurs="0"/>
                             <element name="depth_target" type="{http://www.collada.org/2005/11/COLLADASchema}fx_depthtarget_common" maxOccurs="unbounded" minOccurs="0"/>
                             <element name="stencil_target" type="{http://www.collada.org/2005/11/COLLADASchema}fx_stenciltarget_common" maxOccurs="unbounded" minOccurs="0"/>
                             <element name="color_clear" type="{http://www.collada.org/2005/11/COLLADASchema}fx_clearcolor_common" maxOccurs="unbounded" minOccurs="0"/>
                             <element name="depth_clear" type="{http://www.collada.org/2005/11/COLLADASchema}fx_cleardepth_common" maxOccurs="unbounded" minOccurs="0"/>
                             <element name="stencil_clear" type="{http://www.collada.org/2005/11/COLLADASchema}fx_clearstencil_common" maxOccurs="unbounded" minOccurs="0"/>
                             <element name="draw" type="{http://www.collada.org/2005/11/COLLADASchema}fx_draw_common" minOccurs="0"/>
                             <choice maxOccurs="unbounded">
                               <group ref="{http://www.collada.org/2005/11/COLLADASchema}gl_pipeline_settings"/>
                               <element name="shader">
                                 <complexType>
                                   <complexContent>
                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                       <sequence>
                                         <element name="annotate" type="{http://www.collada.org/2005/11/COLLADASchema}fx_annotate_common" maxOccurs="unbounded" minOccurs="0"/>
                                         <sequence minOccurs="0">
                                           <element name="compiler_target">
                                             <complexType>
                                               <simpleContent>
                                                 <extension base="<http://www.w3.org/2001/XMLSchema>NMTOKEN">
                                                 </extension>
                                               </simpleContent>
                                             </complexType>
                                           </element>
                                           <element name="compiler_options" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                                         </sequence>
                                         <element name="name">
                                           <complexType>
                                             <simpleContent>
                                               <extension base="<http://www.w3.org/2001/XMLSchema>NCName">
                                                 <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}NCName" />
                                               </extension>
                                             </simpleContent>
                                           </complexType>
                                         </element>
                                         <element name="bind" maxOccurs="unbounded" minOccurs="0">
                                           <complexType>
                                             <complexContent>
                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                 <choice>
                                                   <group ref="{http://www.collada.org/2005/11/COLLADASchema}glsl_param_type"/>
                                                   <element name="param">
                                                     <complexType>
                                                       <complexContent>
                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                           <attribute name="ref" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                                                         </restriction>
                                                       </complexContent>
                                                     </complexType>
                                                   </element>
                                                 </choice>
                                                 <attribute name="symbol" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
                                               </restriction>
                                             </complexContent>
                                           </complexType>
                                         </element>
                                       </sequence>
                                       <attribute name="stage" type="{http://www.collada.org/2005/11/COLLADASchema}glsl_pipeline_stage" />
                                     </restriction>
                                   </complexContent>
                                 </complexType>
                               </element>
                             </choice>
                             <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
                           </sequence>
                           <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                   <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
                 <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
                 <attribute name="sid" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class ProfileGLSL.Type.Technique
          Java class for anonymous complex type.
 
Field Summary
protected  Asset asset
           
protected  List<Object> codeOrInclude
           
protected  List<Extra> extra
           
protected  String id
           
protected  List<Object> imageOrNewparam
           
protected  List<ProfileGLSL.Type.Technique> technique
           
 
Constructor Summary
ProfileGLSL.Type()
           
 
Method Summary
 Asset getAsset()
          Gets the value of the asset property.
 List<Object> getCodeOrInclude()
          Gets the value of the codeOrInclude property.
 List<Extra> getExtra()
          Gets the value of the extra property.
 String getId()
          Gets the value of the id property.
 List<Object> getImageOrNewparam()
          Gets the value of the imageOrNewparam property.
 List<ProfileGLSL.Type.Technique> getTechnique()
          Gets the value of the technique property.
 void setAsset(Asset value)
          Sets the value of the asset property.
 void setId(String value)
          Sets the value of the id 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

codeOrInclude

protected List<Object> codeOrInclude

imageOrNewparam

protected List<Object> imageOrNewparam

technique

protected List<ProfileGLSL.Type.Technique> technique

extra

protected List<Extra> extra

id

protected String id
Constructor Detail

ProfileGLSL.Type

public ProfileGLSL.Type()
Method Detail

getAsset

public Asset getAsset()
Gets the value of the asset property.

Returns:
possible object is Asset

setAsset

public void setAsset(Asset value)
Sets the value of the asset property.

Parameters:
value - allowed object is Asset

getCodeOrInclude

public List<Object> getCodeOrInclude()
Gets the value of the codeOrInclude 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 codeOrInclude property.

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

    getCodeOrInclude().add(newItem);
 

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


getImageOrNewparam

public List<Object> getImageOrNewparam()
Gets the value of the imageOrNewparam 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 imageOrNewparam property.

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

    getImageOrNewparam().add(newItem);
 

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


getTechnique

public List<ProfileGLSL.Type.Technique> getTechnique()
Gets the value of the technique 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 technique property.

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

    getTechnique().add(newItem);
 

Objects of the following type(s) are allowed in the list ProfileGLSL.Type.Technique


getExtra

public List<Extra> getExtra()
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


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

CroftSoft Javadoc

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