
org.hl7.v3.Charset 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: 2013.12.15 at 11:19:24 AM PST
//
package org.hl7.v3;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* 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>
*
*
*/
@XmlType(name = "Charset", namespace = "urn:hl7-org:v3")
@XmlEnum
public enum Charset {
EBCDIC("EBCDIC"),
@XmlEnumValue("ISO-10646-UCS-2")
ISO_10646_UCS_2("ISO-10646-UCS-2"),
@XmlEnumValue("ISO-10646-UCS-4")
ISO_10646_UCS_4("ISO-10646-UCS-4"),
@XmlEnumValue("ISO-8859-1")
ISO_8859_1("ISO-8859-1"),
@XmlEnumValue("ISO-8859-2")
ISO_8859_2("ISO-8859-2"),
@XmlEnumValue("ISO-8859-5")
ISO_8859_5("ISO-8859-5"),
@XmlEnumValue("JIS-2022-JP")
JIS_2022_JP("JIS-2022-JP"),
@XmlEnumValue("US-ASCII")
US_ASCII("US-ASCII"),
@XmlEnumValue("UTF-7")
UTF_7("UTF-7"),
@XmlEnumValue("UTF-8")
UTF_8("UTF-8");
private final String value;
Charset(String v) {
value = v;
}
public String value() {
return value;
}
public static Charset fromValue(String v) {
for (Charset c: Charset.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy