public enum TextMediaType extends java.lang.Enum<TextMediaType>
Java class for TextMediaType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TextMediaType">
<restriction base="{urn:hl7-org:v3}cs">
<enumeration value="text/html"/>
<enumeration value="text/plain"/>
<enumeration value="text/rtf"/>
<enumeration value="text/sgml"/>
<enumeration value="text/x-hl7-ft"/>
<enumeration value="text/xml"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
TEXT_HTML |
TEXT_PLAIN |
TEXT_RTF |
TEXT_SGML |
TEXT_X_HL_7_FT |
TEXT_XML |
| Modifier and Type | Method and Description |
|---|---|
static TextMediaType |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static TextMediaType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextMediaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextMediaType TEXT_HTML
public static final TextMediaType TEXT_PLAIN
public static final TextMediaType TEXT_RTF
public static final TextMediaType TEXT_SGML
public static final TextMediaType TEXT_X_HL_7_FT
public static final TextMediaType TEXT_XML
public static TextMediaType[] values()
for (TextMediaType c : TextMediaType.values()) System.out.println(c);
public static TextMediaType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String value()
public static TextMediaType fromValue(java.lang.String v)