org.collada._2005._11.colladaschema
Enum GlMaterialType

java.lang.Object
  extended by java.lang.Enum<GlMaterialType>
      extended by org.collada._2005._11.colladaschema.GlMaterialType
All Implemented Interfaces:
Serializable, Comparable<GlMaterialType>

public enum GlMaterialType
extends Enum<GlMaterialType>

Java class for gl_material_type.

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

 <simpleType name="gl_material_type">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="EMISSION"/>
     <enumeration value="AMBIENT"/>
     <enumeration value="DIFFUSE"/>
     <enumeration value="SPECULAR"/>
     <enumeration value="AMBIENT_AND_DIFFUSE"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
AMBIENT
           
AMBIENT_AND_DIFFUSE
           
DIFFUSE
           
EMISSION
           
SPECULAR
           
 
Method Summary
static GlMaterialType fromValue(String v)
           
 String value()
           
static GlMaterialType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GlMaterialType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EMISSION

public static final GlMaterialType EMISSION

AMBIENT

public static final GlMaterialType AMBIENT

DIFFUSE

public static final GlMaterialType DIFFUSE

SPECULAR

public static final GlMaterialType SPECULAR

AMBIENT_AND_DIFFUSE

public static final GlMaterialType AMBIENT_AND_DIFFUSE
Method Detail

values

public static final GlMaterialType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(GlMaterialType c : GlMaterialType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static GlMaterialType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name

value

public String value()

fromValue

public static GlMaterialType fromValue(String v)

CroftSoft Javadoc

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