Package org.hl7.v3

Enum Class Charset

All Implemented Interfaces:
Serializable, Comparable<Charset>, Constable

public enum Charset extends Enum<Charset>

Java class for Charset.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="Charset">
   <restriction base="{urn:hl7-org:v3}cs">
     <enumeration value="EBCDIC"/>
     <enumeration value="ISO-10646-UCS-2"/>
     <enumeration value="ISO-10646-UCS-4"/>
     <enumeration value="ISO-8859-1"/>
     <enumeration value="ISO-8859-2"/>
     <enumeration value="ISO-8859-5"/>
     <enumeration value="JIS-2022-JP"/>
     <enumeration value="US-ASCII"/>
     <enumeration value="UTF-7"/>
     <enumeration value="UTF-8"/>
   </restriction>
 </simpleType>
 
  • Enum Constant Details

    • EBCDIC

      public static final Charset EBCDIC
    • ISO_10646_UCS_2

      public static final Charset ISO_10646_UCS_2
    • ISO_10646_UCS_4

      public static final Charset ISO_10646_UCS_4
    • ISO_8859_1

      public static final Charset ISO_8859_1
    • ISO_8859_2

      public static final Charset ISO_8859_2
    • ISO_8859_5

      public static final Charset ISO_8859_5
    • JIS_2022_JP

      public static final Charset JIS_2022_JP
    • US_ASCII

      public static final Charset US_ASCII
    • UTF_7

      public static final Charset UTF_7
    • UTF_8

      public static final Charset UTF_8
  • Method Details

    • values

      public static Charset[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Charset valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public String value()
    • fromValue

      public static Charset fromValue(String v)