public enum WebSocketJSONType extends Enum<WebSocketJSONType>
| Enum Constant and Description |
|---|
ARRAY
array
|
BOOLEAN
boolean (true/false)
|
DATE
date including time
|
FUNCTION
function
|
INVALID
Invalid data type
|
NUMBER
number (64 bit float)
|
OBJECT
object
|
STRING
string
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDataType() |
static WebSocketJSONType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebSocketJSONType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebSocketJSONType INVALID
public static final WebSocketJSONType STRING
public static final WebSocketJSONType NUMBER
public static final WebSocketJSONType BOOLEAN
public static final WebSocketJSONType DATE
public static final WebSocketJSONType ARRAY
public static final WebSocketJSONType OBJECT
public static final WebSocketJSONType FUNCTION
public static WebSocketJSONType[] values()
for (WebSocketJSONType c : WebSocketJSONType.values()) System.out.println(c);
public static WebSocketJSONType 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 int getDataType()
Copyright © 2013. All Rights Reserved.