Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 //
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 
 // 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: 2012.10.30 at 02:40:48 PM CET 
 //
 
 
 package com.sun.research.ws.wadl;

Java class for HTTPMethods.

The following schema fragment specifies the expected content contained within this class.

 <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>
 
@XmlType(name = "HTTPMethods")
public enum HTTPMethods {
    GET,
    POST,
    PUT,
    HEAD,
    DELETE;
    public String value() {
        return name();
    }
    public static HTTPMethods fromValue(String v) {
        return valueOf(v);
    }
New to GrepCode? Check out our FAQ X