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: 2010.11.14 at 04:39:34 PM GMT 
 //
 
 
 package com.example.ipo.jaxb;

Java class for USState.

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

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