// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 // 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: 2011.01.27 at 08:53:01 PM MEZ // package de.openstreetmap.josm.tagging_preset_1; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlEnumValue; import javax.xml.bind.annotation.XmlType; /** * <p> * Java class for check_default. * * <p> * The following schema fragment specifies the expected content contained within * this class. * <p> * * <pre> * <simpleType name="check_default"> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="on"/> * <enumeration value="off"/> * </restriction> * </simpleType> * </pre> * */ @XmlType(name = "check_default") @XmlEnum @SuppressWarnings(value = "all") public enum CheckDefault { @XmlEnumValue("on") ON("on"), @XmlEnumValue("off") OFF("off"); private final String value; CheckDefault(String v) { value = v; } public String value() { return value; } public static CheckDefault fromValue(String v) { for (CheckDefault c : CheckDefault.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }