Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013

org.hl7.v3
Enum TextMediaType

java.lang.Object
  extended by java.lang.Enum<TextMediaType>
      extended by org.hl7.v3.TextMediaType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TextMediaType>

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 Summary
TEXT_HTML
           
TEXT_PLAIN
           
TEXT_RTF
           
TEXT_SGML
           
TEXT_X_HL_7_FT
           
TEXT_XML
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TEXT_HTML

public static final TextMediaType TEXT_HTML

TEXT_PLAIN

public static final TextMediaType TEXT_PLAIN

TEXT_RTF

public static final TextMediaType TEXT_RTF

TEXT_SGML

public static final TextMediaType TEXT_SGML

TEXT_X_HL_7_FT

public static final TextMediaType TEXT_X_HL_7_FT

TEXT_XML

public static final TextMediaType TEXT_XML
Method Detail

values

public static TextMediaType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TextMediaType c : TextMediaType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TextMediaType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public java.lang.String value()

fromValue

public static TextMediaType fromValue(java.lang.String v)

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013