| // |
| // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 |
| // 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.08.06 at 11:57:31 AM CEST |
| // |
| |
| package com.sun.research.ws.wadl; |
| |
| import javax.xml.bind.annotation.XmlEnum; |
| import javax.xml.bind.annotation.XmlType; |
| |
| /** |
| * <p>Java class for HTTPMethods. |
| * |
| * <p>The following schema fragment specifies the expected content contained within this class. |
| * <p> |
| * <pre> |
| * <simpleType name="HTTPMethods"> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> |
| * <enumeration value="GET"/> |
| * <enumeration value="POST"/> |
| * <enumeration value="PUT"/> |
| * <enumeration value="HEAD"/> |
| * <enumeration value="DELETE"/> |
| * </restriction> |
| * </simpleType> |
| * </pre> |
| * |
| */ |
| @XmlType(name = "HTTPMethods") |
| @XmlEnum |
| public enum HTTPMethods { |
| |
| GET, |
| POST, |
| PUT, |
| HEAD, |
| DELETE; |
| |
| public String value() { |
| return name(); |
| } |
| |
| public static HTTPMethods fromValue(String v) { |
| return valueOf(v); |
| } |
| |
| } |