| 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_HighlightColor. |
|---|
| 19 | * |
|---|
| 20 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 21 | * <p> |
|---|
| 22 | * <pre> |
|---|
| 23 | * <simpleType name="ST_HighlightColor"> |
|---|
| 24 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
|---|
| 25 | * <enumeration value="black"/> |
|---|
| 26 | * <enumeration value="blue"/> |
|---|
| 27 | * <enumeration value="cyan"/> |
|---|
| 28 | * <enumeration value="green"/> |
|---|
| 29 | * <enumeration value="magenta"/> |
|---|
| 30 | * <enumeration value="red"/> |
|---|
| 31 | * <enumeration value="yellow"/> |
|---|
| 32 | * <enumeration value="white"/> |
|---|
| 33 | * <enumeration value="darkBlue"/> |
|---|
| 34 | * <enumeration value="darkCyan"/> |
|---|
| 35 | * <enumeration value="darkGreen"/> |
|---|
| 36 | * <enumeration value="darkMagenta"/> |
|---|
| 37 | * <enumeration value="darkRed"/> |
|---|
| 38 | * <enumeration value="darkYellow"/> |
|---|
| 39 | * <enumeration value="darkGray"/> |
|---|
| 40 | * <enumeration value="lightGray"/> |
|---|
| 41 | * <enumeration value="none"/> |
|---|
| 42 | * </restriction> |
|---|
| 43 | * </simpleType> |
|---|
| 44 | * </pre> |
|---|
| 45 | * |
|---|
| 46 | */ |
|---|
| 47 | @XmlType(name = "ST_HighlightColor") |
|---|
| 48 | @XmlEnum |
|---|
| 49 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 50 | public enum STHighlightColor { |
|---|
| 51 | |
|---|
| 52 | |
|---|
| 53 | /** |
|---|
| 54 | * Black Highlighting |
|---|
| 55 | * Color |
|---|
| 56 | * |
|---|
| 57 | */ |
|---|
| 58 | @XmlEnumValue("black") |
|---|
| 59 | BLACK("black"), |
|---|
| 60 | |
|---|
| 61 | /** |
|---|
| 62 | * Blue Highlighting Color |
|---|
| 63 | * |
|---|
| 64 | */ |
|---|
| 65 | @XmlEnumValue("blue") |
|---|
| 66 | BLUE("blue"), |
|---|
| 67 | |
|---|
| 68 | /** |
|---|
| 69 | * Cyan Highlighting Color |
|---|
| 70 | * |
|---|
| 71 | */ |
|---|
| 72 | @XmlEnumValue("cyan") |
|---|
| 73 | CYAN("cyan"), |
|---|
| 74 | |
|---|
| 75 | /** |
|---|
| 76 | * Green Highlighting |
|---|
| 77 | * Color |
|---|
| 78 | * |
|---|
| 79 | */ |
|---|
| 80 | @XmlEnumValue("green") |
|---|
| 81 | GREEN("green"), |
|---|
| 82 | |
|---|
| 83 | /** |
|---|
| 84 | * Magenta Highlighting |
|---|
| 85 | * Color |
|---|
| 86 | * |
|---|
| 87 | */ |
|---|
| 88 | @XmlEnumValue("magenta") |
|---|
| 89 | MAGENTA("magenta"), |
|---|
| 90 | |
|---|
| 91 | /** |
|---|
| 92 | * Red Highlighting Color |
|---|
| 93 | * |
|---|
| 94 | */ |
|---|
| 95 | @XmlEnumValue("red") |
|---|
| 96 | RED("red"), |
|---|
| 97 | |
|---|
| 98 | /** |
|---|
| 99 | * Yellow Highlighting |
|---|
| 100 | * Color |
|---|
| 101 | * |
|---|
| 102 | */ |
|---|
| 103 | @XmlEnumValue("yellow") |
|---|
| 104 | YELLOW("yellow"), |
|---|
| 105 | |
|---|
| 106 | /** |
|---|
| 107 | * White Highlighting |
|---|
| 108 | * Color |
|---|
| 109 | * |
|---|
| 110 | */ |
|---|
| 111 | @XmlEnumValue("white") |
|---|
| 112 | WHITE("white"), |
|---|
| 113 | |
|---|
| 114 | /** |
|---|
| 115 | * Dark Blue Highlighting |
|---|
| 116 | * Color |
|---|
| 117 | * |
|---|
| 118 | */ |
|---|
| 119 | @XmlEnumValue("darkBlue") |
|---|
| 120 | DARK_BLUE("darkBlue"), |
|---|
| 121 | |
|---|
| 122 | /** |
|---|
| 123 | * Dark Cyan Highlighting |
|---|
| 124 | * Color |
|---|
| 125 | * |
|---|
| 126 | */ |
|---|
| 127 | @XmlEnumValue("darkCyan") |
|---|
| 128 | DARK_CYAN("darkCyan"), |
|---|
| 129 | |
|---|
| 130 | /** |
|---|
| 131 | * Dark Green Highlighting |
|---|
| 132 | * Color |
|---|
| 133 | * |
|---|
| 134 | */ |
|---|
| 135 | @XmlEnumValue("darkGreen") |
|---|
| 136 | DARK_GREEN("darkGreen"), |
|---|
| 137 | |
|---|
| 138 | /** |
|---|
| 139 | * Dark Magenta Highlighting |
|---|
| 140 | * Color |
|---|
| 141 | * |
|---|
| 142 | */ |
|---|
| 143 | @XmlEnumValue("darkMagenta") |
|---|
| 144 | DARK_MAGENTA("darkMagenta"), |
|---|
| 145 | |
|---|
| 146 | /** |
|---|
| 147 | * Dark Red Highlighting |
|---|
| 148 | * Color |
|---|
| 149 | * |
|---|
| 150 | */ |
|---|
| 151 | @XmlEnumValue("darkRed") |
|---|
| 152 | DARK_RED("darkRed"), |
|---|
| 153 | |
|---|
| 154 | /** |
|---|
| 155 | * Dark Yellow Highlighting |
|---|
| 156 | * Color |
|---|
| 157 | * |
|---|
| 158 | */ |
|---|
| 159 | @XmlEnumValue("darkYellow") |
|---|
| 160 | DARK_YELLOW("darkYellow"), |
|---|
| 161 | |
|---|
| 162 | /** |
|---|
| 163 | * Dark Gray Highlighting |
|---|
| 164 | * Color |
|---|
| 165 | * |
|---|
| 166 | */ |
|---|
| 167 | @XmlEnumValue("darkGray") |
|---|
| 168 | DARK_GRAY("darkGray"), |
|---|
| 169 | |
|---|
| 170 | /** |
|---|
| 171 | * Light Gray Highlighting |
|---|
| 172 | * Color |
|---|
| 173 | * |
|---|
| 174 | */ |
|---|
| 175 | @XmlEnumValue("lightGray") |
|---|
| 176 | LIGHT_GRAY("lightGray"), |
|---|
| 177 | |
|---|
| 178 | /** |
|---|
| 179 | * No Text Highlighting |
|---|
| 180 | * |
|---|
| 181 | */ |
|---|
| 182 | @XmlEnumValue("none") |
|---|
| 183 | NONE("none"); |
|---|
| 184 | private final String value; |
|---|
| 185 | |
|---|
| 186 | STHighlightColor(String v) { |
|---|
| 187 | value = v; |
|---|
| 188 | } |
|---|
| 189 | |
|---|
| 190 | public String value() { |
|---|
| 191 | return value; |
|---|
| 192 | } |
|---|
| 193 | |
|---|
| 194 | public static STHighlightColor fromValue(String v) { |
|---|
| 195 | for (STHighlightColor c: STHighlightColor.values()) { |
|---|
| 196 | if (c.value.equals(v)) { |
|---|
| 197 | return c; |
|---|
| 198 | } |
|---|
| 199 | } |
|---|
| 200 | throw new IllegalArgumentException(v); |
|---|
| 201 | } |
|---|
| 202 | |
|---|
| 203 | } |
|---|