com.microsoft.wsman.config.plugin.XmlRenderingTypeEnumeration 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.08.05 at 05:23:55 PM EDT
//
package com.microsoft.wsman.config.plugin;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for XmlRenderingTypeEnumeration.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="XmlRenderingTypeEnumeration">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="text"/>
* <enumeration value="XmlReader"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "XmlRenderingTypeEnumeration")
@XmlEnum
public enum XmlRenderingTypeEnumeration {
@XmlEnumValue("text")
TEXT("text"),
@XmlEnumValue("XmlReader")
XML_READER("XmlReader");
private final String value;
XmlRenderingTypeEnumeration(String v) {
value = v;
}
public String value() {
return value;
}
public static XmlRenderingTypeEnumeration fromValue(String v) {
for (XmlRenderingTypeEnumeration c: XmlRenderingTypeEnumeration.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}