public enum CommonCodecs extends Enum<CommonCodecs> implements AttributeValueCodec
Enum Constant and Description |
---|
BOOLEAN |
DATE |
DOUBLE |
ENTITY_TYPE |
FLOAT |
INTEGER |
LANGUAGE |
LONG |
PART_OF_SPEECH |
STRING |
TAG |
WIKI_LINKS |
Modifier and Type | Method and Description |
---|---|
boolean |
isArray() |
boolean |
isObject() |
static CommonCodecs |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommonCodecs[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
decode, encode
public static final CommonCodecs INTEGER
public static final CommonCodecs DOUBLE
public static final CommonCodecs FLOAT
public static final CommonCodecs LONG
public static final CommonCodecs STRING
public static final CommonCodecs BOOLEAN
public static final CommonCodecs TAG
public static final CommonCodecs PART_OF_SPEECH
public static final CommonCodecs ENTITY_TYPE
public static final CommonCodecs DATE
public static final CommonCodecs LANGUAGE
public static final CommonCodecs WIKI_LINKS
public static CommonCodecs[] values()
for (CommonCodecs c : CommonCodecs.values()) System.out.println(c);
public static CommonCodecs 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 boolean isObject()
isObject
in interface AttributeValueCodec
public boolean isArray()
isArray
in interface AttributeValueCodec
Copyright © 2016. All rights reserved.