View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 
3   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2013.05.27 at 06:54:03 PM EDT 
6   //
7   
8   
9   package org.apache.juddi.v3.client.mapping.wadl;
10  
11  import javax.xml.bind.annotation.XmlEnum;
12  import javax.xml.bind.annotation.XmlType;
13  
14  
15  /**
16   * <p>Java class for HTTPMethods.
17   * 
18   * <p>The following schema fragment specifies the expected content contained within this class.
19   * <p>
20   * <pre>
21   * &lt;simpleType name="HTTPMethods">
22   *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
23   *     &lt;enumeration value="GET"/>
24   *     &lt;enumeration value="POST"/>
25   *     &lt;enumeration value="PUT"/>
26   *     &lt;enumeration value="HEAD"/>
27   *     &lt;enumeration value="DELETE"/>
28   *   &lt;/restriction>
29   * &lt;/simpleType>
30   * </pre>
31   * 
32   */
33  @XmlType(name = "HTTPMethods")
34  @XmlEnum
35  public enum HTTPMethods {
36  
37      GET,
38      POST,
39      PUT,
40      HEAD,
41      DELETE;
42  
43      public String value() {
44          return name();
45      }
46  
47      public static HTTPMethods fromValue(String v) {
48          return valueOf(v);
49      }
50  
51  }