// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs // 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: 2008.05.13 at 05:26:58 PM WEST // package org.openxdm.xcap.common.xcapdiff; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlEnumValue; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ws. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * <simpleType name="ws"> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="before"/> * <enumeration value="after"/> * <enumeration value="both"/> * </restriction> * </simpleType> * </pre> * */ @XmlType(name = "ws") @XmlEnum public enum Ws { @XmlEnumValue("before") BEFORE("before"), @XmlEnumValue("after") AFTER("after"), @XmlEnumValue("both") BOTH("both"); private final String value; Ws(String v) { value = v; } public String value() { return value; } public static Ws fromValue(String v) { for (Ws c: Ws.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }