
ihe.iti.svs._2008.BinaryDataEncoding 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.
package ihe.iti.svs._2008;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for BinaryDataEncoding.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="BinaryDataEncoding">
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="B64"/>
* <enumeration value="TXT"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "BinaryDataEncoding")
@XmlEnum
public enum BinaryDataEncoding {
@XmlEnumValue("B64")
B_64("B64"),
TXT("TXT");
private final String value;
BinaryDataEncoding(String v) {
value = v;
}
public String value() {
return value;
}
public static BinaryDataEncoding fromValue(String v) {
for (BinaryDataEncoding c: BinaryDataEncoding.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy