Package net.sf.okapi.filters.json.parser
Enum JsonValueTypes
- java.lang.Object
-
- java.lang.Enum<JsonValueTypes>
-
- net.sf.okapi.filters.json.parser.JsonValueTypes
-
- All Implemented Interfaces:
Serializable,Comparable<JsonValueTypes>
public enum JsonValueTypes extends Enum<JsonValueTypes>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEANDEFAULTDOUBLE_QUOTED_STRINGNULLNUMBERSINGLE_QUOTED_STRINGSYMBOL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetQuoteChar()static JsonValueTypesvalueOf(String name)Returns the enum constant of this type with the specified name.static JsonValueTypes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE_QUOTED_STRING
public static final JsonValueTypes SINGLE_QUOTED_STRING
-
DOUBLE_QUOTED_STRING
public static final JsonValueTypes DOUBLE_QUOTED_STRING
-
SYMBOL
public static final JsonValueTypes SYMBOL
-
NUMBER
public static final JsonValueTypes NUMBER
-
BOOLEAN
public static final JsonValueTypes BOOLEAN
-
NULL
public static final JsonValueTypes NULL
-
DEFAULT
public static final JsonValueTypes DEFAULT
-
-
Method Detail
-
values
public static JsonValueTypes[] 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 (JsonValueTypes c : JsonValueTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JsonValueTypes 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
-
getQuoteChar
public String getQuoteChar()
-
-