public enum ColorSpaceType extends Enum<ColorSpaceType>
<xs:simpleType xmlns:ns="http://www.europeana.eu/schemas/edm/" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ColorSpaceType">
<xs:restriction base="xs:string">
<xs:enumeration value="sRGB"/>
<xs:enumeration value="grayscale"/>
</xs:restriction>
</xs:simpleType>
| Modifier and Type | Method and Description |
|---|---|
static ColorSpaceType |
convert(String value) |
static ColorSpaceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColorSpaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
String |
xmlValue() |
public static final ColorSpaceType S_RGB
public static final ColorSpaceType GRAYSCALE
public static ColorSpaceType[] values()
for (ColorSpaceType c : ColorSpaceType.values()) System.out.println(c);
public static ColorSpaceType 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 xmlValue()
public static ColorSpaceType convert(String value)
Copyright © 2015 Europeana Foundation. All rights reserved.