public enum SourceType extends Enum<SourceType>
Enum Constant and Description |
---|
JSON
JSON documents, that represent an example of the kind of JSON data that
the generated Java types will be mapped to.
|
JSONSCHEMA
JSON-schema documents, that contain formal rules about the kind of JSON
data that the generated Java types will be mapped to (http://json-schema.org/)).
|
YAML
YAML documents, that represent an example of the kind of YAML (or JSON) data that
the generated Java types will be mapped to.
|
YAMLSCHEMA
JSON-schema documents, represented as YAML
|
Modifier and Type | Method and Description |
---|---|
static SourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceType JSONSCHEMA
public static final SourceType JSON
public static final SourceType YAMLSCHEMA
public static final SourceType YAML
public static SourceType[] values()
for (SourceType c : SourceType.values()) System.out.println(c);
public static SourceType 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 nullCopyright © 2022. All rights reserved.