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-792 
 // 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: 2009.09.10 at 10:11:39 AM CEST 
 //
 
 
 package org.ow2.easywsdl.wsdl.org.xmlsoap.schemas.wsdl.soap12;

Java class for tStyleChoice.

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

 <simpleType name="tStyleChoice">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="rpc"/>
     <enumeration value="document"/>
   </restriction>
 </simpleType>
 
@XmlType(name = "tStyleChoice")
public enum TStyleChoice {
    @XmlEnumValue("rpc")
    RPC("rpc"),
    @XmlEnumValue("document")
    DOCUMENT("document");
    private final String value;
    TStyleChoice(String v) {
         = v;
    }
    public String value() {
        return ;
    }
    public static TStyleChoice fromValue(String v) {
        for (TStyleChoice c: TStyleChoice.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }
New to GrepCode? Check out our FAQ X