source: branches/jaxb/target/generated-sources/org/docx4j/jaxb/document/STVerticalJc.java @ 43

Revision 43, 1.9 KB checked in by jharrop, 4 years ago (diff)

Use BooleanDefaultTrue? for schema elements which do default to true, but which had ST_OnOff.

Line 
1//
2// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs
3// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4// Any modifications to this file will be lost upon recompilation of the source schema.
5// Generated on: 2007.12.19 at 02:20:48 PM GMT+10:00
6//
7
8
9package org.docx4j.jaxb.document;
10
11import javax.annotation.Generated;
12import javax.xml.bind.annotation.XmlEnum;
13import javax.xml.bind.annotation.XmlEnumValue;
14import javax.xml.bind.annotation.XmlType;
15
16
17/**
18 * <p>Java class for ST_VerticalJc.
19 *
20 * <p>The following schema fragment specifies the expected content contained within this class.
21 * <p>
22 * <pre>
23 * &lt;simpleType name="ST_VerticalJc">
24 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
25 *     &lt;enumeration value="top"/>
26 *     &lt;enumeration value="center"/>
27 *     &lt;enumeration value="both"/>
28 *     &lt;enumeration value="bottom"/>
29 *   &lt;/restriction>
30 * &lt;/simpleType>
31 * </pre>
32 *
33 */
34@XmlType(name = "ST_VerticalJc")
35@XmlEnum
36@Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
37public enum STVerticalJc {
38
39
40    /**
41     * Align Top
42     *
43     */
44    @XmlEnumValue("top")
45    TOP("top"),
46
47    /**
48     * Align Center
49     *
50     */
51    @XmlEnumValue("center")
52    CENTER("center"),
53
54    /**
55     * Vertical Justification
56     *
57     */
58    @XmlEnumValue("both")
59    BOTH("both"),
60
61    /**
62     * Align Bottom
63     *
64     */
65    @XmlEnumValue("bottom")
66    BOTTOM("bottom");
67    private final String value;
68
69    STVerticalJc(String v) {
70        value = v;
71    }
72
73    public String value() {
74        return value;
75    }
76
77    public static STVerticalJc fromValue(String v) {
78        for (STVerticalJc c: STVerticalJc.values()) {
79            if (c.value.equals(v)) {
80                return c;
81            }
82        }
83        throw new IllegalArgumentException(v);
84    }
85
86}
Note: See TracBrowser for help on using the repository browser.