Enum ImageFormatsST
- java.lang.Object
-
- java.lang.Enum<ImageFormatsST>
-
- fi.tut.mei.resdescapi.rdapi.model.rd.ImageFormatsST
-
- All Implemented Interfaces:
Serializable
,Comparable<ImageFormatsST>
public enum ImageFormatsST extends Enum<ImageFormatsST>
Java class for Image_formats_ST.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Image_formats_ST"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="PNG"/> <enumeration value="JPG"/> <enumeration value="GIF"/> <enumeration value="TIF"/> <enumeration value="BMP"/> <enumeration value="WMF"/> <enumeration value="EMF"/> <enumeration value="PDF"/> <enumeration value="OTHER"/> </restriction> </simpleType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageFormatsST
fromValue(String v)
String
value()
static ImageFormatsST
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImageFormatsST[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PNG
public static final ImageFormatsST PNG
-
JPG
public static final ImageFormatsST JPG
-
GIF
public static final ImageFormatsST GIF
-
TIF
public static final ImageFormatsST TIF
-
BMP
public static final ImageFormatsST BMP
-
WMF
public static final ImageFormatsST WMF
-
EMF
public static final ImageFormatsST EMF
-
PDF
public static final ImageFormatsST PDF
-
OTHER
public static final ImageFormatsST OTHER
-
-
Method Detail
-
values
public static ImageFormatsST[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ImageFormatsST c : ImageFormatsST.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImageFormatsST valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public String value()
-
fromValue
public static ImageFormatsST fromValue(String v)
-
-