| 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 | |
|---|
| 9 | package org.docx4j.jaxb.document; |
|---|
| 10 | |
|---|
| 11 | import javax.annotation.Generated; |
|---|
| 12 | import javax.xml.bind.annotation.XmlEnum; |
|---|
| 13 | import javax.xml.bind.annotation.XmlEnumValue; |
|---|
| 14 | import 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 | * <simpleType name="ST_SectionMark"> |
|---|
| 24 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
|---|
| 25 | * <enumeration value="nextPage"/> |
|---|
| 26 | * <enumeration value="nextColumn"/> |
|---|
| 27 | * <enumeration value="continuous"/> |
|---|
| 28 | * <enumeration value="evenPage"/> |
|---|
| 29 | * <enumeration value="oddPage"/> |
|---|
| 30 | * </restriction> |
|---|
| 31 | * </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") |
|---|
| 38 | public 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 | } |
|---|