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

Revision 43, 2.2 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_SectionMark.
19 *
20 * <p>The following schema fragment specifies the expected content contained within this class.
21 * <p>
22 * <pre>
23 * &lt;simpleType name="ST_SectionMark">
24 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
25 *     &lt;enumeration value="nextPage"/>
26 *     &lt;enumeration value="nextColumn"/>
27 *     &lt;enumeration value="continuous"/>
28 *     &lt;enumeration value="evenPage"/>
29 *     &lt;enumeration value="oddPage"/>
30 *   &lt;/restriction>
31 * &lt;/simpleType>
32 * </pre>
33 *
34 */
35@XmlType(name = "ST_SectionMark")
36@XmlEnum
37@Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
38public enum STSectionMark {
39
40
41    /**
42     * Next Page Section Break
43     *
44     */
45    @XmlEnumValue("nextPage")
46    NEXT_PAGE("nextPage"),
47
48    /**
49     * Column Section Break
50     *
51     */
52    @XmlEnumValue("nextColumn")
53    NEXT_COLUMN("nextColumn"),
54
55    /**
56     * Continuous Section
57     *                                          Break
58     *
59     */
60    @XmlEnumValue("continuous")
61    CONTINUOUS("continuous"),
62
63    /**
64     * Even Page Section Break
65     *
66     */
67    @XmlEnumValue("evenPage")
68    EVEN_PAGE("evenPage"),
69
70    /**
71     * Odd Page Section Break
72     *
73     */
74    @XmlEnumValue("oddPage")
75    ODD_PAGE("oddPage");
76    private final String value;
77
78    STSectionMark(String v) {
79        value = v;
80    }
81
82    public String value() {
83        return value;
84    }
85
86    public static STSectionMark fromValue(String v) {
87        for (STSectionMark c: STSectionMark.values()) {
88            if (c.value.equals(v)) {
89                return c;
90            }
91        }
92        throw new IllegalArgumentException(v);
93    }
94
95}
Note: See TracBrowser for help on using the repository browser.