
generated.TextMediaType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ihe-iti Show documentation
Show all versions of ihe-iti Show documentation
Codegen for IHE ITI Profiles.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.03.10 at 07:30:12 PM PDT
//
package generated;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for TextMediaType.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="TextMediaType">
* <restriction base="{}cs">
* <enumeration value="text/x-hl7-ft"/>
* <enumeration value="text/html"/>
* <enumeration value="text/plain"/>
* <enumeration value="text/rtf"/>
* <enumeration value="text/sgml"/>
* <enumeration value="text/xml"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "TextMediaType")
@XmlEnum
public enum TextMediaType {
@XmlEnumValue("text/x-hl7-ft")
TEXT_X_HL_7_FT("text/x-hl7-ft"),
@XmlEnumValue("text/html")
TEXT_HTML("text/html"),
@XmlEnumValue("text/plain")
TEXT_PLAIN("text/plain"),
@XmlEnumValue("text/rtf")
TEXT_RTF("text/rtf"),
@XmlEnumValue("text/sgml")
TEXT_SGML("text/sgml"),
@XmlEnumValue("text/xml")
TEXT_XML("text/xml");
private final String value;
TextMediaType(String v) {
value = v;
}
public String value() {
return value;
}
public static TextMediaType fromValue(String v) {
for (TextMediaType c: TextMediaType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy