public enum ImageMediaType extends java.lang.Enum<ImageMediaType>
Java class for ImageMediaType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ImageMediaType">
<restriction base="{urn:hl7-org:v3}cs">
<enumeration value="image/g3fax"/>
<enumeration value="image/gif"/>
<enumeration value="image/jpeg"/>
<enumeration value="image/png"/>
<enumeration value="image/tiff"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
IMAGE_G_3_FAX |
IMAGE_GIF |
IMAGE_JPEG |
IMAGE_PNG |
IMAGE_TIFF |
| Modifier and Type | Method and Description |
|---|---|
static ImageMediaType |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static ImageMediaType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageMediaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageMediaType IMAGE_G_3_FAX
public static final ImageMediaType IMAGE_GIF
public static final ImageMediaType IMAGE_JPEG
public static final ImageMediaType IMAGE_PNG
public static final ImageMediaType IMAGE_TIFF
public static ImageMediaType[] values()
for (ImageMediaType c : ImageMediaType.values()) System.out.println(c);
public static ImageMediaType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String value()
public static ImageMediaType fromValue(java.lang.String v)