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-2 
 // 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.07.15 at 01:14:46 PM EDT 
 //
 
 
 package org.apache.cxf.binding.corba.wsdl;

Java class for modeType.

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

 <simpleType name="modeType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
     <enumeration value="in"/>
     <enumeration value="inout"/>
     <enumeration value="out"/>
   </restriction>
 </simpleType>
 
@XmlType(name = "modeType")
public enum ModeType {
    @XmlEnumValue("in")
    IN("in"),
    @XmlEnumValue("inout")
    INOUT("inout"),
    @XmlEnumValue("out")
    OUT("out");
    private final String value;
    ModeType(String v) {
         = v;
    }
    public String value() {
        return ;
    }
    public static ModeType fromValue(String v) {
        for (ModeType c: ModeType.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }
New to GrepCode? Check out our FAQ X