
generated.ImageMediaType 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 generated;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ImageMediaType.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ImageMediaType">
* <restriction base="{}cs">
* <enumeration value="image/g3fax"/>
* <enumeration value="image/gif"/>
* <enumeration value="image/jpeg"/>
* <enumeration value="image/png"/>
* <enumeration value="image/tiff"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ImageMediaType")
@XmlEnum
public enum ImageMediaType {
@XmlEnumValue("image/g3fax")
IMAGE_G_3_FAX("image/g3fax"),
@XmlEnumValue("image/gif")
IMAGE_GIF("image/gif"),
@XmlEnumValue("image/jpeg")
IMAGE_JPEG("image/jpeg"),
@XmlEnumValue("image/png")
IMAGE_PNG("image/png"),
@XmlEnumValue("image/tiff")
IMAGE_TIFF("image/tiff");
private final String value;
ImageMediaType(String v) {
value = v;
}
public String value() {
return value;
}
public static ImageMediaType fromValue(String v) {
for (ImageMediaType c: ImageMediaType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy