package at.gv.util.xsd.moaspss; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlEnumValue; import javax.xml.bind.annotation.XmlType; /** *

Java class for KeyStorageType. * *

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

*

 * <simpleType name="KeyStorageType">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="Software"/>
 *     <enumeration value="Hardware"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "KeyStorageType") @XmlEnum public enum KeyStorageType { @XmlEnumValue("Software") SOFTWARE("Software"), @XmlEnumValue("Hardware") HARDWARE("Hardware"); private final String value; KeyStorageType(String v) { value = v; } public String value() { return value; } public static KeyStorageType fromValue(String v) { for (KeyStorageType c: KeyStorageType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }