// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2014.10.14 at 12:55:33 PM CEST // package org.springframework.schema.beans; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlEnumValue; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for defaultable-boolean. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * <simpleType name="defaultable-boolean"> * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> * <enumeration value="default"/> * <enumeration value="true"/> * <enumeration value="false"/> * </restriction> * </simpleType> * </pre> * */ @XmlType(name = "defaultable-boolean") @XmlEnum public enum DefaultableBoolean { @XmlEnumValue("default") DEFAULT("default"), @XmlEnumValue("true") TRUE("true"), @XmlEnumValue("false") FALSE("false"); private final String value; DefaultableBoolean(String v) { value = v; } public String value() { return value; } public static DefaultableBoolean fromValue(String v) { for (DefaultableBoolean c: DefaultableBoolean.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }