public static enum Value.Type extends Enum<Value.Type>
Enum Constant and Description |
---|
ARRAY |
BOOLEAN |
ENUM |
FLOAT |
INT |
JSON |
MAP |
NULL |
OBJECT |
OTHER |
RECORD |
STRING |
TYPEDESC |
XML |
Modifier and Type | Method and Description |
---|---|
int |
getTag() |
static Value.Type |
getType(BValue value) |
static Value.Type |
getType(int tag) |
static Value.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Value.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Value.Type INT
public static final Value.Type FLOAT
public static final Value.Type STRING
public static final Value.Type BOOLEAN
public static final Value.Type ARRAY
public static final Value.Type MAP
public static final Value.Type OBJECT
public static final Value.Type RECORD
public static final Value.Type JSON
public static final Value.Type XML
public static final Value.Type TYPEDESC
public static final Value.Type ENUM
public static final Value.Type NULL
public static final Value.Type OTHER
public static Value.Type[] values()
for (Value.Type c : Value.Type.values()) System.out.println(c);
public static Value.Type 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 getTag()
public static Value.Type getType(int tag)
public static Value.Type getType(BValue value)
Copyright © 2018 WSO2. All rights reserved.