org.collada._2005._11.colladaschema
Class CommonColorOrTextureType

java.lang.Object
  extended by org.collada._2005._11.colladaschema.CommonColorOrTextureType
Direct Known Subclasses:
CommonTransparentType

public class CommonColorOrTextureType
extends Object

Java class for common_color_or_texture_type complex type.

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

 <complexType name="common_color_or_texture_type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="color">
           <complexType>
             <simpleContent>
               <extension base="<http://www.collada.org/2005/11/COLLADASchema>fx_color_common">
                 <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
         <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}NCName" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="texture">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" minOccurs="0"/>
                 </sequence>
                 <attribute name="texcoord" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
                 <attribute name="texture" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class CommonColorOrTextureType.Color
          Java class for anonymous complex type.
static class CommonColorOrTextureType.Param
          Java class for anonymous complex type.
static class CommonColorOrTextureType.Texture
          Java class for anonymous complex type.
 
Field Summary
protected  CommonColorOrTextureType.Color color
           
protected  CommonColorOrTextureType.Param param
           
protected  CommonColorOrTextureType.Texture texture
           
 
Constructor Summary
CommonColorOrTextureType()
           
 
Method Summary
 CommonColorOrTextureType.Color getColor()
          Gets the value of the color property.
 CommonColorOrTextureType.Param getParam()
          Gets the value of the param property.
 CommonColorOrTextureType.Texture getTexture()
          Gets the value of the texture property.
 void setColor(CommonColorOrTextureType.Color value)
          Sets the value of the color property.
 void setParam(CommonColorOrTextureType.Param value)
          Sets the value of the param property.
 void setTexture(CommonColorOrTextureType.Texture value)
          Sets the value of the texture property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

color

protected CommonColorOrTextureType.Color color

param

protected CommonColorOrTextureType.Param param

texture

protected CommonColorOrTextureType.Texture texture
Constructor Detail

CommonColorOrTextureType

public CommonColorOrTextureType()
Method Detail

getColor

public CommonColorOrTextureType.Color getColor()
Gets the value of the color property.

Returns:
possible object is CommonColorOrTextureType.Color

setColor

public void setColor(CommonColorOrTextureType.Color value)
Sets the value of the color property.

Parameters:
value - allowed object is CommonColorOrTextureType.Color

getParam

public CommonColorOrTextureType.Param getParam()
Gets the value of the param property.

Returns:
possible object is CommonColorOrTextureType.Param

setParam

public void setParam(CommonColorOrTextureType.Param value)
Sets the value of the param property.

Parameters:
value - allowed object is CommonColorOrTextureType.Param

getTexture

public CommonColorOrTextureType.Texture getTexture()
Gets the value of the texture property.

Returns:
possible object is CommonColorOrTextureType.Texture

setTexture

public void setTexture(CommonColorOrTextureType.Texture value)
Sets the value of the texture property.

Parameters:
value - allowed object is CommonColorOrTextureType.Texture

CroftSoft Javadoc

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