Package com.adobe.xmp.schema.model
Enum SimpleType.BasicType
- java.lang.Object
-
- java.lang.Enum<SimpleType.BasicType>
-
- com.adobe.xmp.schema.model.SimpleType.BasicType
-
- All Implemented Interfaces:
Serializable
,Comparable<SimpleType.BasicType>
- Enclosing interface:
- SimpleType
public static enum SimpleType.BasicType extends Enum<SimpleType.BasicType>
Enum of all five basic XMP simple types
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static SimpleType.BasicType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SimpleType.BasicType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOLEAN
public static final SimpleType.BasicType BOOLEAN
literal type "Boolean"
-
DATE
public static final SimpleType.BasicType DATE
literal type "Date"
-
INTEGER
public static final SimpleType.BasicType INTEGER
literal type "Integer"
-
REAL
public static final SimpleType.BasicType REAL
literal type "Read"
-
TEXT
public static final SimpleType.BasicType TEXT
literal type "Text"
-
-
Method Detail
-
values
public static SimpleType.BasicType[] 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 (SimpleType.BasicType c : SimpleType.BasicType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SimpleType.BasicType 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<SimpleType.BasicType>
-
-