2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
\r
3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
\r
4 // Any modifications to this file will be lost upon recompilation of the source schema.
\r
5 // Generated on: 2015.06.17 at 02:58:58 PM EEST
\r
9 package org.w3._2001.xmlschema;
\r
11 import javax.xml.bind.annotation.XmlEnum;
\r
12 import javax.xml.bind.annotation.XmlEnumValue;
\r
13 import javax.xml.bind.annotation.XmlType;
\r
17 * <p>Java class for formChoice.
\r
19 * <p>The following schema fragment specifies the expected content contained within this class.
\r
22 * <simpleType name="formChoice">
\r
23 * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
\r
24 * <enumeration value="qualified"/>
\r
25 * <enumeration value="unqualified"/>
\r
31 @XmlType(name = "formChoice")
\r
33 public enum FormChoice {
\r
35 @XmlEnumValue("qualified")
\r
36 QUALIFIED("qualified"),
\r
37 @XmlEnumValue("unqualified")
\r
38 UNQUALIFIED("unqualified");
\r
39 private final String value;
\r
41 FormChoice(String v) {
\r
45 public String value() {
\r
49 public static FormChoice fromValue(String v) {
\r
50 for (FormChoice c: FormChoice.values()) {
\r
51 if (c.value.equals(v)) {
\r
55 throw new IllegalArgumentException(v);
\r