Package | Description |
---|---|
org.jsonschema2pojo | |
org.jsonschema2pojo.ant |
Provides the classes specifically associated with the Ant task for
jsonschema2pojo
|
org.jsonschema2pojo.cli |
Provides the classes specifically associated with the command line interface
for jsonschema2pojo
|
org.jsonschema2pojo.maven |
Provides the classes specifically associated with the Maven plugin for
jsonschema2pojo
|
org.jsonschema2pojo.rules |
Provides the schema rules which can be 'applied' to perform the code
generation steps associated with JSON schema nodes
|
org.jsonschema2pojo.util |
Modifier and Type | Class and Description |
---|---|
class |
DefaultGenerationConfig
A generation config that returns default values for all behavioural options.
|
Modifier and Type | Method and Description |
---|---|
GenerationConfig |
AbstractAnnotator.getGenerationConfig() |
Modifier and Type | Method and Description |
---|---|
static void |
Jsonschema2Pojo.generate(GenerationConfig config,
RuleLogger logger)
Reads the contents of the given source and initiates schema generation.
|
static String |
Jsonschema2Pojo.getNodeName(String filePath,
GenerationConfig config) |
static String |
Jsonschema2Pojo.getNodeName(URL file,
GenerationConfig config) |
Constructor and Description |
---|
AbstractAnnotator(GenerationConfig generationConfig) |
AbstractTypeInfoAwareAnnotator(GenerationConfig generationConfig) |
AnnotatorFactory(GenerationConfig generationConfig) |
GsonAnnotator(GenerationConfig generationConfig) |
Jackson2Annotator(GenerationConfig generationConfig) |
Moshi1Annotator(GenerationConfig generationConfig) |
Modifier and Type | Class and Description |
---|---|
class |
Jsonschema2PojoTask
When invoked, this task reads one or more
JSON Schema documents and generates DTO
style Java classes for data binding.
|
Modifier and Type | Class and Description |
---|---|
class |
Arguments
Describes and parses the command line arguments supported by the
jsonschema2pojo CLI.
|
Modifier and Type | Class and Description |
---|---|
class |
Jsonschema2PojoMojo
When invoked, this goal reads one or more
JSON Schema documents and generates DTO
style Java classes for data binding.
|
Modifier and Type | Method and Description |
---|---|
GenerationConfig |
RuleFactory.getGenerationConfig()
Gets the configuration options that will influence the java code
generated by rules created by this factory.
|
Modifier and Type | Method and Description |
---|---|
void |
RuleFactory.setGenerationConfig(GenerationConfig generationConfig)
The generation config options for type generation.
|
Constructor and Description |
---|
RuleFactory(GenerationConfig generationConfig,
Annotator annotator,
SchemaStore schemaStore)
Create a new rule factory with the given generation config options.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
LanguageFeatures.canUseJava7(GenerationConfig config) |
static boolean |
LanguageFeatures.canUseJava8(GenerationConfig config) |
Constructor and Description |
---|
NameHelper(GenerationConfig generationConfig) |
Copyright © 2022. All rights reserved.