01: //
02: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
03: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
04: // Any modifications to this file will be lost upon recompilation of the source schema.
05: // Generated on: 2007.03.17 at 08:38:02 AM PDT
06: //
07:
08: package org.collada.colladaschema;
09:
10: import javax.xml.bind.annotation.XmlEnum;
11: import javax.xml.bind.annotation.XmlEnumValue;
12:
13: /**
14: * <p>Java class for gles_texcombiner_operatorRGB_enums.
15: *
16: * <p>The following schema fragment specifies the expected content contained within this class.
17: * <p>
18: * <pre>
19: * <simpleType name="gles_texcombiner_operatorRGB_enums">
20: * <restriction base="{http://www.w3.org/2001/XMLSchema}token">
21: * <enumeration value="REPLACE"/>
22: * <enumeration value="MODULATE"/>
23: * <enumeration value="ADD"/>
24: * <enumeration value="ADD_SIGNED"/>
25: * <enumeration value="INTERPOLATE"/>
26: * <enumeration value="SUBTRACT"/>
27: * <enumeration value="DOT3_RGB"/>
28: * <enumeration value="DOT3_RGBA"/>
29: * </restriction>
30: * </simpleType>
31: * </pre>
32: *
33: */
34: @XmlEnum
35: public enum GlesTexcombinerOperatorRGBEnums {
36:
37: REPLACE("REPLACE"), MODULATE("MODULATE"), ADD("ADD"), ADD_SIGNED(
38: "ADD_SIGNED"), INTERPOLATE("INTERPOLATE"), SUBTRACT(
39: "SUBTRACT"), @XmlEnumValue("DOT3_RGB")
40: DOT_3_RGB("DOT3_RGB"), @XmlEnumValue("DOT3_RGBA")
41: DOT_3_RGBA("DOT3_RGBA");
42: private final String value;
43:
44: GlesTexcombinerOperatorRGBEnums(String v) {
45: value = v;
46: }
47:
48: public String value() {
49: return value;
50: }
51:
52: public static GlesTexcombinerOperatorRGBEnums fromValue(String v) {
53: for (GlesTexcombinerOperatorRGBEnums c : GlesTexcombinerOperatorRGBEnums
54: .values()) {
55: if (c.value.equals(v)) {
56: return c;
57: }
58: }
59: throw new IllegalArgumentException(v.toString());
60: }
61:
62: }
|