source: trunk/docx4j/src/main/java/org/docx4j/dml/STLightRigType.java @ 1041

Revision 1041, 5.5 KB checked in by jharrop, 2 years ago (diff)

More complete DML, generated from TC45 1.0 final, using dmlROOT.xsd

Line 
1/*
2 *  Copyright 2007-2008, Plutext Pty Ltd.
3 *   
4 *  This file is part of docx4j.
5
6    docx4j is licensed under the Apache License, Version 2.0 (the "License");
7    you may not use this file except in compliance with the License.
8
9    You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
13    Unless required by applicable law or agreed to in writing, software
14    distributed under the License is distributed on an "AS IS" BASIS,
15    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16    See the License for the specific language governing permissions and
17    limitations under the License.
18
19 */
20
21
22package org.docx4j.dml;
23
24import javax.xml.bind.annotation.XmlEnum;
25import javax.xml.bind.annotation.XmlEnumValue;
26import javax.xml.bind.annotation.XmlType;
27
28
29/**
30 * <p>Java class for ST_LightRigType.
31 *
32 * <p>The following schema fragment specifies the expected content contained within this class.
33 * <p>
34 * <pre>
35 * &lt;simpleType name="ST_LightRigType">
36 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}token">
37 *     &lt;enumeration value="legacyFlat1"/>
38 *     &lt;enumeration value="legacyFlat2"/>
39 *     &lt;enumeration value="legacyFlat3"/>
40 *     &lt;enumeration value="legacyFlat4"/>
41 *     &lt;enumeration value="legacyNormal1"/>
42 *     &lt;enumeration value="legacyNormal2"/>
43 *     &lt;enumeration value="legacyNormal3"/>
44 *     &lt;enumeration value="legacyNormal4"/>
45 *     &lt;enumeration value="legacyHarsh1"/>
46 *     &lt;enumeration value="legacyHarsh2"/>
47 *     &lt;enumeration value="legacyHarsh3"/>
48 *     &lt;enumeration value="legacyHarsh4"/>
49 *     &lt;enumeration value="threePt"/>
50 *     &lt;enumeration value="balanced"/>
51 *     &lt;enumeration value="soft"/>
52 *     &lt;enumeration value="harsh"/>
53 *     &lt;enumeration value="flood"/>
54 *     &lt;enumeration value="contrasting"/>
55 *     &lt;enumeration value="morning"/>
56 *     &lt;enumeration value="sunrise"/>
57 *     &lt;enumeration value="sunset"/>
58 *     &lt;enumeration value="chilly"/>
59 *     &lt;enumeration value="freezing"/>
60 *     &lt;enumeration value="flat"/>
61 *     &lt;enumeration value="twoPt"/>
62 *     &lt;enumeration value="glow"/>
63 *     &lt;enumeration value="brightRoom"/>
64 *   &lt;/restriction>
65 * &lt;/simpleType>
66 * </pre>
67 *
68 */
69@XmlType(name = "ST_LightRigType")
70@XmlEnum
71public enum STLightRigType {
72
73
74    /**
75     * Legacy Flat 1
76     *
77     */
78    @XmlEnumValue("legacyFlat1")
79    LEGACY_FLAT_1("legacyFlat1"),
80
81    /**
82     * Legacy Flat 2
83     *
84     */
85    @XmlEnumValue("legacyFlat2")
86    LEGACY_FLAT_2("legacyFlat2"),
87
88    /**
89     * Legacy Flat 3
90     *
91     */
92    @XmlEnumValue("legacyFlat3")
93    LEGACY_FLAT_3("legacyFlat3"),
94
95    /**
96     * Legacy Flat 4
97     *
98     */
99    @XmlEnumValue("legacyFlat4")
100    LEGACY_FLAT_4("legacyFlat4"),
101
102    /**
103     * Legacy Normal 1
104     *
105     */
106    @XmlEnumValue("legacyNormal1")
107    LEGACY_NORMAL_1("legacyNormal1"),
108
109    /**
110     * Legacy Normal 2
111     *
112     */
113    @XmlEnumValue("legacyNormal2")
114    LEGACY_NORMAL_2("legacyNormal2"),
115
116    /**
117     * Legacy Normal 3
118     *
119     */
120    @XmlEnumValue("legacyNormal3")
121    LEGACY_NORMAL_3("legacyNormal3"),
122
123    /**
124     * Legacy Normal 4
125     *
126     */
127    @XmlEnumValue("legacyNormal4")
128    LEGACY_NORMAL_4("legacyNormal4"),
129
130    /**
131     * Legacy Harsh 1
132     *
133     */
134    @XmlEnumValue("legacyHarsh1")
135    LEGACY_HARSH_1("legacyHarsh1"),
136
137    /**
138     * Legacy Harsh 2
139     *
140     */
141    @XmlEnumValue("legacyHarsh2")
142    LEGACY_HARSH_2("legacyHarsh2"),
143
144    /**
145     * Legacy Harsh 3
146     *
147     */
148    @XmlEnumValue("legacyHarsh3")
149    LEGACY_HARSH_3("legacyHarsh3"),
150
151    /**
152     * Legacy Harsh 4
153     *
154     */
155    @XmlEnumValue("legacyHarsh4")
156    LEGACY_HARSH_4("legacyHarsh4"),
157
158    /**
159     * Three Point
160     *
161     */
162    @XmlEnumValue("threePt")
163    THREE_PT("threePt"),
164
165    /**
166     * Light Rig Enum ( Balanced )
167     *
168     */
169    @XmlEnumValue("balanced")
170    BALANCED("balanced"),
171
172    /**
173     * Soft
174     *
175     */
176    @XmlEnumValue("soft")
177    SOFT("soft"),
178
179    /**
180     * Harsh
181     *
182     */
183    @XmlEnumValue("harsh")
184    HARSH("harsh"),
185
186    /**
187     * Flood
188     *
189     */
190    @XmlEnumValue("flood")
191    FLOOD("flood"),
192
193    /**
194     * Contrasting
195     *
196     */
197    @XmlEnumValue("contrasting")
198    CONTRASTING("contrasting"),
199
200    /**
201     * Morning
202     *
203     */
204    @XmlEnumValue("morning")
205    MORNING("morning"),
206
207    /**
208     * Sunrise
209     *
210     */
211    @XmlEnumValue("sunrise")
212    SUNRISE("sunrise"),
213
214    /**
215     * Sunset
216     *
217     */
218    @XmlEnumValue("sunset")
219    SUNSET("sunset"),
220
221    /**
222     * Chilly
223     *
224     */
225    @XmlEnumValue("chilly")
226    CHILLY("chilly"),
227
228    /**
229     * Freezing
230     *
231     */
232    @XmlEnumValue("freezing")
233    FREEZING("freezing"),
234
235    /**
236     * Flat
237     *
238     */
239    @XmlEnumValue("flat")
240    FLAT("flat"),
241
242    /**
243     * Two Point
244     *
245     */
246    @XmlEnumValue("twoPt")
247    TWO_PT("twoPt"),
248
249    /**
250     * Glow
251     *
252     */
253    @XmlEnumValue("glow")
254    GLOW("glow"),
255
256    /**
257     * Bright Room
258     *
259     */
260    @XmlEnumValue("brightRoom")
261    BRIGHT_ROOM("brightRoom");
262    private final String value;
263
264    STLightRigType(String v) {
265        value = v;
266    }
267
268    public String value() {
269        return value;
270    }
271
272    public static STLightRigType fromValue(String v) {
273        for (STLightRigType c: STLightRigType.values()) {
274            if (c.value.equals(v)) {
275                return c;
276            }
277        }
278        throw new IllegalArgumentException(v);
279    }
280
281}
Note: See TracBrowser for help on using the repository browser.