|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<JsonSchema.TYPE> com.ibm.portal.streaming.json.xml.JsonSchema.TYPE
public static enum JsonSchema.TYPE
Enumeration that identifies the data type of a member
Enum Constant Summary | |
---|---|
BOOLEAN
represented as a boolean true or false |
|
DATE
represented as a date |
|
DOUBLE
represented as a floating point number |
|
LONG
represented as an integer number |
|
NULL
all content is ignored, to be represented as JSON null |
|
QNAME
the value is represented as ns:value, will be transfered as {ns-uri}value |
|
STRING
represented as a string number |
|
URI
represented as a URI. |
Method Summary | |
---|---|
static JsonSchema.TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static JsonSchema.TYPE[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JsonSchema.TYPE NULL
null
public static final JsonSchema.TYPE LONG
public static final JsonSchema.TYPE DOUBLE
public static final JsonSchema.TYPE STRING
public static final JsonSchema.TYPE DATE
public static final JsonSchema.TYPE URI
public static final JsonSchema.TYPE BOOLEAN
true
or false
public static final JsonSchema.TYPE QNAME
Method Detail |
---|
public static JsonSchema.TYPE[] values()
for (JsonSchema.TYPE c : JsonSchema.TYPE.values()) System.out.println(c);
public static JsonSchema.TYPE valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |