public enum ImageMediaType extends 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(String v) |
String |
value() |
static ImageMediaType |
valueOf(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static ImageMediaType fromValue(String v)
Copyright © 2021. All rights reserved.