source: branches/jaxb/target/generated-sources/org/docx4j/jaxb/document/STChapterSep.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_ChapterSep.
19 *
20 * <p>The following schema fragment specifies the expected content contained within this class.
21 * <p>
22 * <pre>
23 * &lt;simpleType name="ST_ChapterSep">
24 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
25 *     &lt;enumeration value="hyphen"/>
26 *     &lt;enumeration value="period"/>
27 *     &lt;enumeration value="colon"/>
28 *     &lt;enumeration value="emDash"/>
29 *     &lt;enumeration value="enDash"/>
30 *   &lt;/restriction>
31 * &lt;/simpleType>
32 * </pre>
33 *
34 */
35@XmlType(name = "ST_ChapterSep")
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 STChapterSep {
39
40
41    /**
42     * Hyphen Chapter
43     *                                          Separator
44     *
45     */
46    @XmlEnumValue("hyphen")
47    HYPHEN("hyphen"),
48
49    /**
50     * Period Chapter
51     *                                          Separator
52     *
53     */
54    @XmlEnumValue("period")
55    PERIOD("period"),
56
57    /**
58     * Colon Chapter Separator
59     *
60     */
61    @XmlEnumValue("colon")
62    COLON("colon"),
63
64    /**
65     * Em Dash Chapter
66     *                                          Separator
67     *
68     */
69    @XmlEnumValue("emDash")
70    EM_DASH("emDash"),
71
72    /**
73     * En Dash Chapter
74     *                                          Separator
75     *
76     */
77    @XmlEnumValue("enDash")
78    EN_DASH("enDash");
79    private final String value;
80
81    STChapterSep(String v) {
82        value = v;
83    }
84
85    public String value() {
86        return value;
87    }
88
89    public static STChapterSep fromValue(String v) {
90        for (STChapterSep c: STChapterSep.values()) {
91            if (c.value.equals(v)) {
92                return c;
93            }
94        }
95        throw new IllegalArgumentException(v);
96    }
97
98}
Note: See TracBrowser for help on using the repository browser.