org.exoplatform.ws.frameworks.json.impl
Enum JsonUtils.Types

java.lang.Object
  extended by java.lang.Enum<JsonUtils.Types>
      extended by org.exoplatform.ws.frameworks.json.impl.JsonUtils.Types
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<JsonUtils.Types>
Enclosing class:
JsonUtils

public static enum JsonUtils.Types
extends java.lang.Enum<JsonUtils.Types>

Known types.


Enum Constant Summary
ARRAY_BOOLEAN
          Array of Booleans.
ARRAY_BYTE
          Array of Bytes.
ARRAY_CHAR
          Array of Chars.
ARRAY_DOUBLE
          Array of Doubles.
ARRAY_FLOAT
          Array of Floats.
ARRAY_INT
          Array of Integers.
ARRAY_LONG
          Array of Longs.
ARRAY_OBJECT
          Array of Java Objects (beans).
ARRAY_SHORT
          Array of Shorts.
ARRAY_STRING
          Array of Strings.
BOOLEAN
          Boolean.
BYTE
          Byte.
CHAR
          Char.
COLLECTION
          Collection.
DOUBLE
          Double.
FLOAT
          Float.
INT
          Integer.
LONG
          Long.
MAP
          Map.
NULL
          Corresponding to null value.
SHORT
          Short.
STRING
          String.
 
Method Summary
static JsonUtils.Types valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static JsonUtils.Types[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BYTE

public static final JsonUtils.Types BYTE
Byte.


SHORT

public static final JsonUtils.Types SHORT
Short.


INT

public static final JsonUtils.Types INT
Integer.


LONG

public static final JsonUtils.Types LONG
Long.


FLOAT

public static final JsonUtils.Types FLOAT
Float.


DOUBLE

public static final JsonUtils.Types DOUBLE
Double.


BOOLEAN

public static final JsonUtils.Types BOOLEAN
Boolean.


CHAR

public static final JsonUtils.Types CHAR
Char.


STRING

public static final JsonUtils.Types STRING
String.


NULL

public static final JsonUtils.Types NULL
Corresponding to null value.


ARRAY_BYTE

public static final JsonUtils.Types ARRAY_BYTE
Array of Bytes.


ARRAY_SHORT

public static final JsonUtils.Types ARRAY_SHORT
Array of Shorts.


ARRAY_INT

public static final JsonUtils.Types ARRAY_INT
Array of Integers.


ARRAY_LONG

public static final JsonUtils.Types ARRAY_LONG
Array of Longs.


ARRAY_FLOAT

public static final JsonUtils.Types ARRAY_FLOAT
Array of Floats.


ARRAY_DOUBLE

public static final JsonUtils.Types ARRAY_DOUBLE
Array of Doubles.


ARRAY_BOOLEAN

public static final JsonUtils.Types ARRAY_BOOLEAN
Array of Booleans.


ARRAY_CHAR

public static final JsonUtils.Types ARRAY_CHAR
Array of Chars.


ARRAY_STRING

public static final JsonUtils.Types ARRAY_STRING
Array of Strings.


ARRAY_OBJECT

public static final JsonUtils.Types ARRAY_OBJECT
Array of Java Objects (beans).


COLLECTION

public static final JsonUtils.Types COLLECTION
Collection.


MAP

public static final JsonUtils.Types MAP
Map.

Method Detail

values

public static final JsonUtils.Types[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(JsonUtils.Types c : JsonUtils.Types.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static JsonUtils.Types valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2011 eXo Platform SAS. All Rights Reserved.