// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vBeta // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2002.12.05 at 11:45:36 GMT // package generated; /** * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> * <enumeration value="ChoiceA"/> * <enumeration value="ChoiceB"/> * </restriction> * * */ public class SomeEnumType { public final static generated.SomeEnumType CHOICE_A = new generated.SomeEnumType("ChoiceA"); private final static Object $$$_CHOICE_A = com.sun.xml.bind.WhiteSpaceProcessor.collapse("ChoiceA"); public final static generated.SomeEnumType CHOICE_B = new generated.SomeEnumType("ChoiceB"); private final static Object $$$_CHOICE_B = com.sun.xml.bind.WhiteSpaceProcessor.collapse("ChoiceB"); private final String value; public final static generated.SomeEnumType CHOICE_A = new generated.SomeEnumType("ChoiceA"); private final static Object $$$_CHOICE_A = com.sun.xml.bind.WhiteSpaceProcessor.collapse("ChoiceA"); public final static generated.SomeEnumType CHOICE_B = new generated.SomeEnumType("ChoiceB"); private final static Object $$$_CHOICE_B = com.sun.xml.bind.WhiteSpaceProcessor.collapse("ChoiceB"); private final String value; private SomeEnumType(String v) { value = v; } private SomeEnumType(String v) { value = v; } public String toString() { return value; } public final int hashCode() { return super.hashCode(); } public final boolean equals(Object o) { return super.equals(o); } public static generated.SomeEnumType parse(String str) { if ($$$_CHOICE_A.equals(com.sun.xml.bind.WhiteSpaceProcessor.collapse(str))) { return CHOICE_A; } if ($$$_CHOICE_B.equals(com.sun.xml.bind.WhiteSpaceProcessor.collapse(str))) { return CHOICE_B; } return null; } public String toString() { return value; } public final int hashCode() { return super.hashCode(); } public final boolean equals(Object o) { return super.equals(o); } public static generated.SomeEnumType parse(String str) { if ($$$_CHOICE_A.equals(com.sun.xml.bind.WhiteSpaceProcessor.collapse(str))) { return CHOICE_A; } if ($$$_CHOICE_B.equals(com.sun.xml.bind.WhiteSpaceProcessor.collapse(str))) { return CHOICE_B; } return null; } }