public enum JsonSchemaType extends Enum<JsonSchemaType>
| Enum Constant and Description |
|---|
ARRAY |
BOOLEAN |
INTEGER |
NULL |
NUMBER |
NUMBER_DECIMAL |
OBJECT |
STRING |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkInstance(Object obj) |
static JsonSchemaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonSchemaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonSchemaType NULL
public static final JsonSchemaType BOOLEAN
public static final JsonSchemaType OBJECT
public static final JsonSchemaType ARRAY
public static final JsonSchemaType NUMBER
public static final JsonSchemaType NUMBER_DECIMAL
public static final JsonSchemaType INTEGER
public static final JsonSchemaType STRING
public static JsonSchemaType[] values()
for (JsonSchemaType c : JsonSchemaType.values()) System.out.println(c);
public static JsonSchemaType 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 boolean checkInstance(Object obj)
Copyright © 2022 Eclipse. All rights reserved.