- AbstractAnnotator - Class in org.jsonschema2pojo
-
A default implemenation of the Annotator interface that makes it easier t o
plug in different Annotator implemenations.
- AbstractAnnotator() - Constructor for class org.jsonschema2pojo.AbstractAnnotator
-
- accept(File) - Method in class org.jsonschema2pojo.AllFileFilter
-
- additionalPropertiesField(JFieldVar, JDefinedClass, String) - Method in class org.jsonschema2pojo.AbstractAnnotator
-
- additionalPropertiesField(JFieldVar, JDefinedClass, String) - Method in interface org.jsonschema2pojo.Annotator
-
- additionalPropertiesField(JFieldVar, JDefinedClass, String) - Method in class org.jsonschema2pojo.CompositeAnnotator
-
- additionalPropertiesField(JFieldVar, JDefinedClass, String) - Method in class org.jsonschema2pojo.Jackson1Annotator
-
- additionalPropertiesField(JFieldVar, JDefinedClass, String) - Method in class org.jsonschema2pojo.Jackson2Annotator
-
- AdditionalPropertiesRule - Class in org.jsonschema2pojo.rules
-
Applies the "additionalProperties" JSON schema rule.
- AdditionalPropertiesRule(RuleFactory) - Constructor for class org.jsonschema2pojo.rules.AdditionalPropertiesRule
-
- AllFileFilter - Class in org.jsonschema2pojo
-
A file filter that accepts all files.
- AllFileFilter() - Constructor for class org.jsonschema2pojo.AllFileFilter
-
- AnnotationStyle - Enum in org.jsonschema2pojo
-
The style of annotations to be used on generated java types (to allow them to
support whatever kind of binding to JSON is required).
- Annotator - Interface in org.jsonschema2pojo
-
Adds annotations to generated types for compatibility with a JSON
serialization library.
- AnnotatorFactory - Class in org.jsonschema2pojo
-
Factory object for creating
Annotators for all the supported
annotation styles.
- AnnotatorFactory() - Constructor for class org.jsonschema2pojo.AnnotatorFactory
-
- anyGetter(JMethod) - Method in class org.jsonschema2pojo.AbstractAnnotator
-
- anyGetter(JMethod) - Method in interface org.jsonschema2pojo.Annotator
-
Add the necessary annotation to mark a Java method as the getter for
additional JSON property values that do not match any of the other
property names found in the bean.
- anyGetter(JMethod) - Method in class org.jsonschema2pojo.CompositeAnnotator
-
- anyGetter(JMethod) - Method in class org.jsonschema2pojo.Jackson1Annotator
-
- anyGetter(JMethod) - Method in class org.jsonschema2pojo.Jackson2Annotator
-
- anySetter(JMethod) - Method in class org.jsonschema2pojo.AbstractAnnotator
-
- anySetter(JMethod) - Method in interface org.jsonschema2pojo.Annotator
-
Add the necessary annotation to mark a Java method as the setter for
additional JSON property values that do not match any of the other
property names found in the bean.
- anySetter(JMethod) - Method in class org.jsonschema2pojo.CompositeAnnotator
-
- anySetter(JMethod) - Method in class org.jsonschema2pojo.Jackson1Annotator
-
- anySetter(JMethod) - Method in class org.jsonschema2pojo.Jackson2Annotator
-
- apply(String, JsonNode, JDefinedClass, Schema) - Method in class org.jsonschema2pojo.rules.AdditionalPropertiesRule
-
Applies this schema rule to take the required code generation steps.
- apply(String, JsonNode, JPackage, Schema) - Method in class org.jsonschema2pojo.rules.ArrayRule
-
Applies this schema rule to take the required code generation steps.
- apply(String, JsonNode, JFieldVar, Schema) - Method in class org.jsonschema2pojo.rules.DefaultRule
-
Applies this schema rule to take the required code generation steps.
- apply(String, JsonNode, JDocCommentable, Schema) - Method in class org.jsonschema2pojo.rules.DescriptionRule
-
Applies this schema rule to take the required code generation steps.
- apply(String, JsonNode, JClassContainer, Schema) - Method in class org.jsonschema2pojo.rules.EnumRule
-
Applies this schema rule to take the required code generation steps.
- apply(String, JsonNode, JType, Schema) - Method in class org.jsonschema2pojo.rules.FormatRule
-
Applies this schema rule to take the required code generation steps.
- apply(String, JsonNode, JType, Schema) - Method in class org.jsonschema2pojo.rules.MediaRule
-
Applies this schema rule.
- apply(String, JsonNode, JFieldVar, Schema) - Method in class org.jsonschema2pojo.rules.MinimumMaximumRule
-
- apply(String, JsonNode, JFieldVar, Schema) - Method in class org.jsonschema2pojo.rules.MinItemsMaxItemsRule
-
- apply(String, JsonNode, JFieldVar, Schema) - Method in class org.jsonschema2pojo.rules.MinLengthMaxLengthRule
-
- apply(String, JsonNode, JPackage, Schema) - Method in class org.jsonschema2pojo.rules.ObjectRule
-
Applies this schema rule to take the required code generation steps.
- apply(String, JsonNode, JFieldVar, Schema) - Method in class org.jsonschema2pojo.rules.PatternRule
-
- apply(String, JsonNode, JDefinedClass, Schema) - Method in class org.jsonschema2pojo.rules.PropertiesRule
-
Applies this schema rule to take the required code generation steps.
- apply(String, JsonNode, JDefinedClass, Schema) - Method in class org.jsonschema2pojo.rules.PropertyRule
-
Applies this schema rule to take the required code generation steps.
- apply(String, JsonNode, JDocCommentable, Schema) - Method in class org.jsonschema2pojo.rules.RequiredRule
-
Applies this schema rule to take the required code generation steps.
- apply(String, JsonNode, T, Schema) - Method in interface org.jsonschema2pojo.rules.Rule
-
Add whatever Java source is required to the given generatable to
represent this schema rule.
- apply(String, JsonNode, JClassContainer, Schema) - Method in class org.jsonschema2pojo.rules.SchemaRule
-
Applies this schema rule to take the required code generation steps.
- apply(String, JsonNode, JDocCommentable, Schema) - Method in class org.jsonschema2pojo.rules.TitleRule
-
Applies this schema rule to take the required code generation steps.
- apply(String, JsonNode, JClassContainer, Schema) - Method in class org.jsonschema2pojo.rules.TypeRule
-
Applies this schema rule to take the required code generation steps.
- apply(String, JsonNode, JFieldVar, Schema) - Method in class org.jsonschema2pojo.rules.ValidRule
-
- ArrayRule - Class in org.jsonschema2pojo.rules
-
Applies the "type":"array" schema rule.
- ArrayRule(RuleFactory) - Constructor for class org.jsonschema2pojo.rules.ArrayRule
-
- generate(GenerationConfig) - Static method in class org.jsonschema2pojo.Jsonschema2Pojo
-
Reads the contents of the given source and initiates schema generation.
- generate(JCodeModel, String, String, URL) - Method in class org.jsonschema2pojo.SchemaMapper
-
Reads a schema and adds generated types to the given code model.
- generate(JCodeModel, String, String, String, URI) - Method in class org.jsonschema2pojo.SchemaMapper
-
- generate(JCodeModel, String, String, String) - Method in class org.jsonschema2pojo.SchemaMapper
-
- GenerationConfig - Interface in org.jsonschema2pojo
-
Defines the configuration options for Java type generation, including source
and target paths/packages and all behavioural options (e.g should builders be
generated, should primitives be used, etc).
- GenerationException - Exception in org.jsonschema2pojo.exception
-
Represents an unexpected error during Java code generation.
- GenerationException(String, Throwable) - Constructor for exception org.jsonschema2pojo.exception.GenerationException
-
- GenerationException(String) - Constructor for exception org.jsonschema2pojo.exception.GenerationException
-
- GenerationException(Throwable) - Constructor for exception org.jsonschema2pojo.exception.GenerationException
-
- GenerationException(String, ClassNotFoundException) - Constructor for exception org.jsonschema2pojo.exception.GenerationException
-
- getAdditionalPropertiesRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Provides a rule instance that should be applied when an
"additionalProperties" declaration is found in the schema.
- getAnnotationStyle() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
-
- getAnnotationStyle() - Method in interface org.jsonschema2pojo.GenerationConfig
-
Gets the 'annotationStyle' configuration option.
- getAnnotator(AnnotationStyle) - Method in class org.jsonschema2pojo.AnnotatorFactory
-
Create a new
Annotator that can create annotations according to
the given style.
- getAnnotator(Class<? extends Annotator>) - Method in class org.jsonschema2pojo.AnnotatorFactory
-
Create a new custom
Annotator from the given class.
- getAnnotator(Annotator...) - Method in class org.jsonschema2pojo.AnnotatorFactory
-
- getAnnotator() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Gets the annotator that will in apply annotations to the generated code
to allow correct serialization and deserialization, according to the
chosen annotation style.
- getArrayRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Provides a rule instance that should be applied when an "array"
declaration is found in the schema.
- getContent() - Method in class org.jsonschema2pojo.Schema
-
- getCustomAnnotator() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
-
- getCustomAnnotator() - Method in interface org.jsonschema2pojo.GenerationConfig
-
Gets the 'customAnnotator' configuration option.
- getCustomRuleFactory() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
-
- getCustomRuleFactory() - Method in interface org.jsonschema2pojo.GenerationConfig
-
Gets the 'customRuleFactory' configuration option.
- getDefaultRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Provides a rule instance that should be applied when a property
declaration is found in the schema to assign any appropriate default
value to that property.
- getDescriptionRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Provides a rule instance that should be applied when a "description"
declaration is found in the schema.
- getEnumRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Provides a rule instance that should be applied when an "enum"
declaration is found in the schema.
- getExistingClass() - Method in exception org.jsonschema2pojo.exception.ClassAlreadyExistsException
-
Gets the corresponding existing class that caused this exception.
- getFileFilter() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
-
- getFileFilter() - Method in interface org.jsonschema2pojo.GenerationConfig
-
Gets the file filter used to isolate the schema mapping files in the source directories.
- getFormatRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Provides a rule instance that should be applied when a "format"
declaration is found in the schema.
- getGenerationConfig() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Gets the configuration options that will influence the java code
generated by rules created by this factory.
- getId() - Method in class org.jsonschema2pojo.Schema
-
- getInstance() - Static method in class org.jsonschema2pojo.util.Inflector
-
- getJavaType() - Method in class org.jsonschema2pojo.Schema
-
- getMediaRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Provides a rule instance that should be applied when a "media"
declaration is found in the schema.
- getMinimumMaximumRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Provides a rule instance that should be applied when a property
declaration is found in the schema, to assign any minimum/maximum
validation on that property
- getMinItemsMaxItemsRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Provides a rule instance that should be applied when a property
declaration is found in the schema, to assign any size validation
(minItems/maxItems) on that property
- getMinLengthMaxLengthRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Provides a rule instance that should be applied when a property
declaration is found in the schema, to assign any size validation
(minLength/maxLength) on that property
- getNameHelper() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Gets the name helper that is used to generate normalized Class and field
names.
- getObjectRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Provides a rule instance that should be applied when an "object"
declaration is found in the schema.
- getOutputEncoding() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
-
- getOutputEncoding() - Method in interface org.jsonschema2pojo.GenerationConfig
-
Gets the 'outputEncoding' configuration option.
- getPatternRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Provides a rule instance that should be applied when a "pattern"
declaration is found in the schema for a property.
- getPropertiesRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Provides a rule instance that should be applied when a "properties"
declaration is found in the schema.
- getPropertyRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Provides a rule instance that should be applied when a property
declaration (child of the "properties" declaration) is found in the
schema.
- getPropertyWordDelimiters() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
-
- getPropertyWordDelimiters() - Method in interface org.jsonschema2pojo.GenerationConfig
-
Gets the 'propertyWordDelimiters' configuration option.
- getRequiredRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Provides a rule instance that should be applied when a "required"
declaration is found in the schema.
- getSchemaRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Provides a rule instance that should be applied when a schema declaration
is found in the schema.
- getSchemaStore() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Gets the store that finds and saves JSON schemas
- getSource() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
-
Unsupported since no default source is possible.
- getSource() - Method in interface org.jsonschema2pojo.GenerationConfig
-
Gets the 'source' configuration option.
- getSourceType() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
-
- getSourceType() - Method in interface org.jsonschema2pojo.GenerationConfig
-
Gets the 'sourceType' configuration option.
- getTargetDirectory() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
-
- getTargetDirectory() - Method in interface org.jsonschema2pojo.GenerationConfig
-
Gets the 'targetDirectory' configuration option.
- getTargetPackage() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
-
- getTargetPackage() - Method in interface org.jsonschema2pojo.GenerationConfig
-
Gets the 'targetPackage' configuration option.
- getTitleRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Provides a rule instance that should be applied when a "title"
declaration is found in the schema.
- getTypeRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Provides a rule instance that should be applied to a node to find its
equivalent Java type.
- getValidRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
-
Provides a rule instance that should be applied when a property
declaration is found in the schema which itself contains properties, to
assign validation of the properties within that property
- GsonAnnotator - Class in org.jsonschema2pojo
-
Annotates generated Java types using Gson.
- GsonAnnotator() - Constructor for class org.jsonschema2pojo.GsonAnnotator
-