public enum AttributeFormat extends Enum<AttributeFormat>
Enum Constant and Description |
---|
BINARY
Attribute s of this AttributeFormat must have a value that is a Java
byte[] and AttributeType#getBinding() should return
Class<Array> of byte . |
BOOLEAN
|
DATE
|
DOUBLE
|
FLOAT
|
GEOMETRY
|
INTEGER
|
LONG
|
OBJECT
|
SHORT
|
STRING
Attribute s of this AttributeFormat must have a value that is a Java
String and treated as plain text. |
XML
|
Modifier and Type | Method and Description |
---|---|
static AttributeFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributeFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributeFormat STRING
Attribute
s of this AttributeFormat
must have a value that is a Java
String and treated as plain text.public static final AttributeFormat BOOLEAN
public static final AttributeFormat DATE
public static final AttributeFormat SHORT
public static final AttributeFormat INTEGER
public static final AttributeFormat LONG
public static final AttributeFormat FLOAT
public static final AttributeFormat DOUBLE
public static final AttributeFormat GEOMETRY
public static final AttributeFormat BINARY
Attribute
s of this AttributeFormat
must have a value that is a Java
byte[]
and AttributeType#getBinding()
should return
Class<Array>
of byte
.public static final AttributeFormat XML
public static final AttributeFormat OBJECT
Attribute
s of this AttributeFormat
must have a value that implements the
Serializable
interface. Additional processing ( indexing
, tokenizing
) will not be performed even if indicated by the AttributeDescriptor
. NOTE: In order for classes to be deserialized by a Source
, that class must
exist on the classpath of that Source
. This may require additional parameters to be set
such as DynamicImport-Package in order for the Source to accommodate OBJECT format.
Serializable
public static AttributeFormat[] values()
for (AttributeFormat c : AttributeFormat.values()) System.out.println(c);
public static AttributeFormat 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 nullThis work is licensed under a Creative Commons Attribution 4.0 International License.