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 fx_surface_format_hint_option_enum.
15: *
16: * <p>The following schema fragment specifies the expected content contained within this class.
17: * <p>
18: * <pre>
19: * <simpleType name="fx_surface_format_hint_option_enum">
20: * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
21: * <enumeration value="SRGB_GAMMA"/>
22: * <enumeration value="NORMALIZED3"/>
23: * <enumeration value="NORMALIZED4"/>
24: * <enumeration value="COMPRESSABLE"/>
25: * </restriction>
26: * </simpleType>
27: * </pre>
28: *
29: */
30: @XmlEnum
31: public enum FxSurfaceFormatHintOptionEnum {
32:
33: SRGB_GAMMA("SRGB_GAMMA"), @XmlEnumValue("NORMALIZED3")
34: NORMALIZED_3("NORMALIZED3"), @XmlEnumValue("NORMALIZED4")
35: NORMALIZED_4("NORMALIZED4"), COMPRESSABLE("COMPRESSABLE");
36: private final String value;
37:
38: FxSurfaceFormatHintOptionEnum(String v) {
39: value = v;
40: }
41:
42: public String value() {
43: return value;
44: }
45:
46: public static FxSurfaceFormatHintOptionEnum fromValue(String v) {
47: for (FxSurfaceFormatHintOptionEnum c : FxSurfaceFormatHintOptionEnum
48: .values()) {
49: if (c.value.equals(v)) {
50: return c;
51: }
52: }
53: throw new IllegalArgumentException(v.toString());
54: }
55:
56: }
|