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: 2011.08.30 at 01:43:50 PM CEST 
 //
 
 
 package org.talend.esb.servicelocator.client.internal.endpoint;

Java class for TransportType.

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

 <simpleType name="TransportType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="HTTP"/>
     <enumeration value="HTTPS"/>
     <enumeration value="JMS"/>
     <enumeration value="OTHER"/>
   </restriction>
 </simpleType>
 
@XmlType(name = "TransportType")
public enum TransportType {
    HTTP,
    HTTPS,
    JMS,
    OTHER;
    public String value() {
        return name();
    }
    public static TransportType fromValue(String v) {
        return valueOf(v);
    }
New to GrepCode? Check out our FAQ X