
org.xmlsoap.schemas.wsdl.soap.UseChoice Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.01.02 at 02:32:26 PM PST
//
package org.xmlsoap.schemas.wsdl.soap;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for useChoice.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="useChoice">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="literal"/>
* <enumeration value="encoded"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "useChoice")
@XmlEnum
public enum UseChoice {
@XmlEnumValue("literal")
LITERAL("literal"),
@XmlEnumValue("encoded")
ENCODED("encoded");
private final String value;
UseChoice(String v) {
value = v;
}
public String value() {
return value;
}
public static UseChoice fromValue(String v) {
for (UseChoice c: UseChoice.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy