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
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAnnotator
A default implementation of the Annotator interface that makes it easier to
plug in different Annotator implementations.
|
class |
AbstractTypeInfoAwareAnnotator |
class |
CompositeAnnotator
An annotator (implementing the composite pattern) that can be used to compose
many annotators together.
|
class |
GsonAnnotator
Annotates generated Java types using Gson.
|
class |
Jackson2Annotator
Annotates generated Java types using the Jackson 2.x mapping annotations.
|
class |
Moshi1Annotator
Annotates generated Java types using Moshi.
|
class |
NoopAnnotator
No-op annotator that produces no annotations.
|
Modifier and Type | Method and Description |
---|---|
Annotator |
AnnotatorFactory.getAnnotator(AnnotationStyle style)
Create a new
Annotator that can create annotations according to
the given style. |
Annotator |
AnnotatorFactory.getAnnotator(Class<? extends Annotator> clazz)
Create a new custom
Annotator from the given class. |
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotator> |
DefaultGenerationConfig.getCustomAnnotator()
|
Class<? extends Annotator> |
GenerationConfig.getCustomAnnotator()
Gets the 'customAnnotator' configuration option.
|
Modifier and Type | Method and Description |
---|---|
CompositeAnnotator |
AnnotatorFactory.getAnnotator(Annotator... annotators) |
Modifier and Type | Method and Description |
---|---|
Annotator |
AnnotatorFactory.getAnnotator(Class<? extends Annotator> clazz)
Create a new custom
Annotator from the given class. |
Constructor and Description |
---|
CompositeAnnotator(Annotator... annotators)
Create a new composite annotator, made up of a given set of child
annotators.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotator> |
Jsonschema2PojoTask.getCustomAnnotator() |
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotator> |
Arguments.getCustomAnnotator() |
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotator> |
Jsonschema2PojoMojo.getCustomAnnotator() |
Modifier and Type | Method and Description |
---|---|
Annotator |
RuleFactory.getAnnotator()
Gets the annotator that will in apply annotations to the generated code
to allow correct serialization and deserialization, according to the
chosen annotation style.
|
Modifier and Type | Method and Description |
---|---|
void |
RuleFactory.setAnnotator(Annotator annotator)
The annotator used to mark up Java types with any annotations that are
required to build JSON compatible types
|
Constructor and Description |
---|
RuleFactory(GenerationConfig generationConfig,
Annotator annotator,
SchemaStore schemaStore)
Create a new rule factory with the given generation config options.
|
Copyright © 2022. All rights reserved.