// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2015.06.17 at 02:58:58 PM EEST // package org.w3._2001.xmlschema; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlEnumValue; import javax.xml.bind.annotation.XmlType; /** *

Java class for typeDerivationControl. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="typeDerivationControl">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}derivationControl">
 *     <enumeration value="extension"/>
 *     <enumeration value="restriction"/>
 *     <enumeration value="list"/>
 *     <enumeration value="union"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "typeDerivationControl") @XmlEnum(DerivationControl.class) public enum TypeDerivationControl { @XmlEnumValue("extension") EXTENSION(DerivationControl.EXTENSION), @XmlEnumValue("restriction") RESTRICTION(DerivationControl.RESTRICTION), @XmlEnumValue("list") LIST(DerivationControl.LIST), @XmlEnumValue("union") UNION(DerivationControl.UNION); private final DerivationControl value; TypeDerivationControl(DerivationControl v) { value = v; } public DerivationControl value() { return value; } public static TypeDerivationControl fromValue(DerivationControl v) { for (TypeDerivationControl c: TypeDerivationControl.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v.toString()); } }