Skip navigation links
A B C D E F G I J L M N O P R S T U V W 

A

AbstractAnnotator - Class in org.jsonschema2pojo
A default implementation of the Annotator interface that makes it easier to plug in different Annotator implementations.
AbstractAnnotator() - Constructor for class org.jsonschema2pojo.AbstractAnnotator
 
accept(File) - Method in class org.jsonschema2pojo.AllFileFilter
 
accept(File) - Method in class org.jsonschema2pojo.maven.MatchPatternsFileFilter
 
addCreator(JDefinedClass) - Method in class org.jsonschema2pojo.util.ParcelableHelper
 
addDefaultExcludes() - Method in class org.jsonschema2pojo.maven.MatchPatternsFileFilter.Builder
 
addDescribeContents(JDefinedClass) - Method in class org.jsonschema2pojo.util.ParcelableHelper
 
addExcludes(List<String>) - Method in class org.jsonschema2pojo.maven.MatchPatternsFileFilter.Builder
 
addExcludes(String...) - Method in class org.jsonschema2pojo.maven.MatchPatternsFileFilter.Builder
 
addIncludes(List<String>) - Method in class org.jsonschema2pojo.maven.MatchPatternsFileFilter.Builder
 
addIncludes(String...) - Method in class org.jsonschema2pojo.maven.MatchPatternsFileFilter.Builder
 
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
 
addWriteToParcel(JDefinedClass) - Method in class org.jsonschema2pojo.util.ParcelableHelper
 
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, JDefinedClass, Schema) - Method in class org.jsonschema2pojo.rules.DynamicPropertiesRule
This rule adds dynamic getter, setter and builder methods based on the properties and additional properties defined in a schema.
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, JDocCommentable, Schema) - Method in class org.jsonschema2pojo.rules.JavaNameRule
 
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, JDefinedClass, Schema) - Method in class org.jsonschema2pojo.rules.RequiredArrayRule
 
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
 
Arguments - Class in org.jsonschema2pojo.cli
Describes and parses the command line arguments supported by the jsonschema2pojo CLI.
Arguments() - Constructor for class org.jsonschema2pojo.cli.Arguments
 
ArrayRule - Class in org.jsonschema2pojo.rules
Applies the "type":"array" schema rule.
ArrayRule(RuleFactory) - Constructor for class org.jsonschema2pojo.rules.ArrayRule
 

B

BINARY_ENCODING - Static variable in class org.jsonschema2pojo.rules.MediaRule
 
build() - Method in class org.jsonschema2pojo.maven.MatchPatternsFileFilter.Builder
 
build() - Method in class org.jsonschema2pojo.util.Inflector.Builder
 
Builder() - Constructor for class org.jsonschema2pojo.maven.MatchPatternsFileFilter.Builder
 
builder() - Static method in class org.jsonschema2pojo.util.Inflector
 
Builder() - Constructor for class org.jsonschema2pojo.util.Inflector.Builder
 
BUILDER_NAME - Static variable in class org.jsonschema2pojo.rules.DynamicPropertiesRule
 

C

canUseJava7(GenerationConfig) - Static method in class org.jsonschema2pojo.util.LanguageFeatures
 
canUseJava8(GenerationConfig) - Static method in class org.jsonschema2pojo.util.LanguageFeatures
 
capitalizeTrailingWords(String) - Method in class org.jsonschema2pojo.util.NameHelper
 
ClassAlreadyExistsException - Exception in org.jsonschema2pojo.exception
Thrown to indicate that an attempt to create a new class failed, because a class of the same name already exists (either on the classpath or in the current map of types to be generated.
ClassAlreadyExistsException(JType) - Constructor for exception org.jsonschema2pojo.exception.ClassAlreadyExistsException
Creates a new exception where the given existing class was found to conflict with an attempt to create a new class.
ClassConverter - Class in org.jsonschema2pojo.cli
A converter that can create a class given a fully qualified class name.
ClassConverter(String) - Constructor for class org.jsonschema2pojo.cli.ClassConverter
Create a new class converter.
clearCache() - Method in class org.jsonschema2pojo.SchemaStore
 
CompositeAnnotator - Class in org.jsonschema2pojo
An annotator (implementing the composite pattern) that can be used to compose many annotators together.
CompositeAnnotator(Annotator...) - Constructor for class org.jsonschema2pojo.CompositeAnnotator
Create a new composite annotator, made up of a given set of child annotators.
ContentResolver - Class in org.jsonschema2pojo
Reads URI contents for various protocols.
ContentResolver() - Constructor for class org.jsonschema2pojo.ContentResolver
 
contentResolver - Variable in class org.jsonschema2pojo.SchemaStore
 
convert(String) - Method in class org.jsonschema2pojo.cli.ClassConverter
 
convert(String) - Method in class org.jsonschema2pojo.cli.UrlConverter
 
CORRESPONDING_PROPERTY_TEXT - Variable in class org.jsonschema2pojo.rules.JavaNameRule
 
create(URI) - Method in class org.jsonschema2pojo.SchemaStore
Create or look up a new schema which has the given ID and read the contents of the given ID as a URL.
create(Schema, String) - Method in class org.jsonschema2pojo.SchemaStore
Create or look up a new schema using the given schema as a parent and the path as a relative reference.
createClasspath() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
createDefaultBuilder() - Static method in class org.jsonschema2pojo.util.Inflector
 

D

DefaultGenerationConfig - Class in org.jsonschema2pojo
A generation config that returns default values for all behavioural options.
DefaultGenerationConfig() - Constructor for class org.jsonschema2pojo.DefaultGenerationConfig
 
DefaultRule - Class in org.jsonschema2pojo.rules
Applies the "enum" schema rule.
DefaultRule(RuleFactory) - Constructor for class org.jsonschema2pojo.rules.DefaultRule
 
DEFINED_GETTER_NAME - Static variable in class org.jsonschema2pojo.rules.DynamicPropertiesRule
 
DEFINED_SETTER_NAME - Static variable in class org.jsonschema2pojo.rules.DynamicPropertiesRule
 
DescriptionRule - Class in org.jsonschema2pojo.rules
Applies the "description" schema property.
DescriptionRule() - Constructor for class org.jsonschema2pojo.rules.DescriptionRule
 
DynamicPropertiesRule - Class in org.jsonschema2pojo.rules
Adds methods for dynamically getting, setting, and building properties.
DynamicPropertiesRule(RuleFactory) - Constructor for class org.jsonschema2pojo.rules.DynamicPropertiesRule
 

E

enumConstant(JEnumConstant, String) - Method in class org.jsonschema2pojo.AbstractAnnotator
 
enumConstant(JEnumConstant, String) - Method in interface org.jsonschema2pojo.Annotator
Add the necessary annotations to an enum constant.
enumConstant(JEnumConstant, String) - Method in class org.jsonschema2pojo.CompositeAnnotator
 
enumConstant(JEnumConstant, String) - Method in class org.jsonschema2pojo.GsonAnnotator
 
enumConstant(JEnumConstant, String) - Method in class org.jsonschema2pojo.Jackson2Annotator
 
enumCreatorMethod(JMethod) - Method in class org.jsonschema2pojo.AbstractAnnotator
 
enumCreatorMethod(JMethod) - Method in interface org.jsonschema2pojo.Annotator
Add the necessary annotation to mark a static Java method as the creator/factory method which can choose the correct Java enum value for a given JSON value during deserialization.
enumCreatorMethod(JMethod) - Method in class org.jsonschema2pojo.CompositeAnnotator
 
enumCreatorMethod(JMethod) - Method in class org.jsonschema2pojo.Jackson1Annotator
 
enumCreatorMethod(JMethod) - Method in class org.jsonschema2pojo.Jackson2Annotator
 
EnumRule - Class in org.jsonschema2pojo.rules
Applies the "enum" schema rule.
EnumRule(RuleFactory) - Constructor for class org.jsonschema2pojo.rules.EnumRule
 
enumValueMethod(JMethod) - Method in class org.jsonschema2pojo.AbstractAnnotator
 
enumValueMethod(JMethod) - Method in interface org.jsonschema2pojo.Annotator
Add the necessary annotation to mark a Java method as the value method that is used to turn a Java enum value into a JSON value during serialization.
enumValueMethod(JMethod) - Method in class org.jsonschema2pojo.CompositeAnnotator
 
enumValueMethod(JMethod) - Method in class org.jsonschema2pojo.Jackson1Annotator
 
enumValueMethod(JMethod) - Method in class org.jsonschema2pojo.Jackson2Annotator
 
execute() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Execute this task (it's expected that all relevant setters will have been called by Ant to provide task configuration before this method is called).
execute() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
Executes the plugin, to read the given source and behavioural properties and generate POJOs.
exit(int) - Method in class org.jsonschema2pojo.cli.Arguments
 

F

FileCodeWriterWithEncoding - Class in org.jsonschema2pojo
A writer that honours the given character encoding (workaround for an issue with EncoderFactory.createEncoder(String) that causes the given encoding to be ignored).
FileCodeWriterWithEncoding(File, String) - Constructor for class org.jsonschema2pojo.FileCodeWriterWithEncoding
 
FormatRule - Class in org.jsonschema2pojo.rules
Applies the "format" schema rule.
FormatRule(RuleFactory) - Constructor for class org.jsonschema2pojo.rules.FormatRule
 
FragmentResolver - Class in org.jsonschema2pojo
 
FragmentResolver() - Constructor for class org.jsonschema2pojo.FragmentResolver
 
fragmentResolver - Variable in class org.jsonschema2pojo.SchemaStore
 
fromString(String) - Static method in enum org.jsonschema2pojo.URLProtocol
 

G

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.ant.Jsonschema2PojoTask
 
getAnnotationStyle() - Method in class org.jsonschema2pojo.cli.Arguments
 
getAnnotationStyle() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
getAnnotationStyle() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'annotationStyle' configuration option.
getAnnotationStyle() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
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.
getClassLoader(MavenProject, ClassLoader, Log) - Method in class org.jsonschema2pojo.maven.ProjectClasspath
Provides a class loader that can be used to load classes from this project classpath.
getClassNamePrefix() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
getClassNamePrefix() - Method in class org.jsonschema2pojo.cli.Arguments
 
getClassNamePrefix() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
getClassNamePrefix() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'getClassNamePrefix' configuration option.
getClassNamePrefix() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
getClassNameSuffix() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
getClassNameSuffix() - Method in class org.jsonschema2pojo.cli.Arguments
 
getClassNameSuffix() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
getClassNameSuffix() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'getClassNameSuffix' configuration option.
getClassNameSuffix() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
getClasspath() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
getConstantName(String, String) - Method in class org.jsonschema2pojo.rules.EnumRule
 
getContent() - Method in class org.jsonschema2pojo.Schema
 
getCustomAnnotator() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
getCustomAnnotator() - Method in class org.jsonschema2pojo.cli.Arguments
 
getCustomAnnotator() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
getCustomAnnotator() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'customAnnotator' configuration option.
getCustomAnnotator() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
getCustomRuleFactory() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
getCustomRuleFactory() - Method in class org.jsonschema2pojo.cli.Arguments
 
getCustomRuleFactory() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
getCustomRuleFactory() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'customRuleFactory' configuration option.
getCustomRuleFactory() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
getDateTimeType() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
getDateTimeType() - Method in class org.jsonschema2pojo.cli.Arguments
 
getDateTimeType() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
getDateTimeType() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the `dateTimeType` configuration option.
getDateTimeType() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
getDateType() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
getDateType() - Method in class org.jsonschema2pojo.cli.Arguments
 
getDateType() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
getDateType() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the `dateType` configuration option.
getDateType() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
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.
getDynamicPropertiesRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
Provides a rule instance that adds methods for dynamically getting, setting, and building properties.
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.
getFieldName(String, JsonNode) - Method in class org.jsonschema2pojo.util.NameHelper
Get name of the field generated from property.
getFileFilter() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
getFileFilter() - Method in class org.jsonschema2pojo.cli.Arguments
 
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.
getFileFilter() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
getFileFromURL(URL) - Static method in class org.jsonschema2pojo.util.URLUtil
 
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.
getGetterName(String, JType, JsonNode) - Method in class org.jsonschema2pojo.util.NameHelper
Generate getter method name for property.
getId() - Method in class org.jsonschema2pojo.Schema
 
getInstance() - Static method in class org.jsonschema2pojo.util.Inflector
 
getJavaNameRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
 
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.ant.Jsonschema2PojoTask
 
getOutputEncoding() - Method in class org.jsonschema2pojo.cli.Arguments
 
getOutputEncoding() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
getOutputEncoding() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'outputEncoding' configuration option.
getOutputEncoding() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
getParentContent() - Method in class org.jsonschema2pojo.Schema
 
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.
getPropertyName(String, JsonNode) - Method in class org.jsonschema2pojo.util.NameHelper
Convert jsonFieldName into the equivalent Java fieldname by replacing illegal characters and normalizing it.
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.ant.Jsonschema2PojoTask
 
getPropertyWordDelimiters() - Method in class org.jsonschema2pojo.cli.Arguments
 
getPropertyWordDelimiters() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
getPropertyWordDelimiters() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'propertyWordDelimiters' configuration option.
getPropertyWordDelimiters() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
getProtocol() - Method in enum org.jsonschema2pojo.URLProtocol
 
getRequiredArrayRule() - Method in class org.jsonschema2pojo.rules.RuleFactory
Provides a rule instance that should be applied when a "required" declaration is found in the schema.
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
getSetterName(String, JsonNode) - Method in class org.jsonschema2pojo.util.NameHelper
Generate setter method name for property.
getSource() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
getSource() - Method in class org.jsonschema2pojo.cli.Arguments
 
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.
getSource() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
getSourceType() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
getSourceType() - Method in class org.jsonschema2pojo.cli.Arguments
 
getSourceType() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
getSourceType() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'sourceType' configuration option.
getSourceType() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
getTargetDirectory() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
getTargetDirectory() - Method in class org.jsonschema2pojo.cli.Arguments
 
getTargetDirectory() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
getTargetDirectory() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'targetDirectory' configuration option.
getTargetDirectory() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
getTargetPackage() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
getTargetPackage() - Method in class org.jsonschema2pojo.cli.Arguments
 
getTargetPackage() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
getTargetPackage() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'targetPackage' configuration option.
getTargetPackage() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
getTargetVersion() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
getTargetVersion() - Method in class org.jsonschema2pojo.cli.Arguments
 
getTargetVersion() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
getTargetVersion() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'targetVersion' configuration option.
getTargetVersion() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
GETTER_NAME - Static variable in class org.jsonschema2pojo.rules.DynamicPropertiesRule
 
getTimeType() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
getTimeType() - Method in class org.jsonschema2pojo.cli.Arguments
 
getTimeType() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
getTimeType() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the `timeType` configuration option.
getTimeType() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
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
 

I

ILLEGAL_CHARACTER_REGEX - Static variable in class org.jsonschema2pojo.util.NameHelper
 
Inflector - Class in org.jsonschema2pojo.util
Transforms words (from singular to plural, from camelCase to under_score, etc.).
Inflector.Builder - Class in org.jsonschema2pojo.util
 
irregular(String, String) - Method in class org.jsonschema2pojo.util.Inflector.Builder
 
isAdditionalPropertiesSupported() - Method in class org.jsonschema2pojo.AbstractAnnotator
 
isAdditionalPropertiesSupported() - Method in interface org.jsonschema2pojo.Annotator
Indicates whether the annotation style that this annotator uses can support the JSON Schema 'additionalProperties' feature.
isAdditionalPropertiesSupported() - Method in class org.jsonschema2pojo.CompositeAnnotator
 
isAdditionalPropertiesSupported() - Method in class org.jsonschema2pojo.GsonAnnotator
 
isAdditionalPropertiesSupported() - Method in class org.jsonschema2pojo.Jackson1Annotator
 
isAdditionalPropertiesSupported() - Method in class org.jsonschema2pojo.Jackson2Annotator
 
isConstructorsRequiredPropertiesOnly() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
isConstructorsRequiredPropertiesOnly() - Method in class org.jsonschema2pojo.cli.Arguments
 
isConstructorsRequiredPropertiesOnly() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
isConstructorsRequiredPropertiesOnly() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'constructorsRequiredPropertiesOnly' configuration option
isConstructorsRequiredPropertiesOnly() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
isGenerateBuilders() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
isGenerateBuilders() - Method in class org.jsonschema2pojo.cli.Arguments
 
isGenerateBuilders() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
isGenerateBuilders() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'generateBuilders' configuration option.
isGenerateBuilders() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
isGenerated() - Method in class org.jsonschema2pojo.Schema
 
isIncludeAccessors() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
isIncludeAccessors() - Method in class org.jsonschema2pojo.cli.Arguments
 
isIncludeAccessors() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
isIncludeAccessors() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'includeAccessors' configuration option.
isIncludeAccessors() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
isIncludeAdditionalProperties() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
isIncludeAdditionalProperties() - Method in class org.jsonschema2pojo.cli.Arguments
 
isIncludeAdditionalProperties() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
isIncludeAdditionalProperties() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'includeAdditionalProperties' configuration option.
isIncludeAdditionalProperties() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
isIncludeConstructors() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
isIncludeConstructors() - Method in class org.jsonschema2pojo.cli.Arguments
 
isIncludeConstructors() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
isIncludeConstructors() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'includeConstructors' configuration option.
isIncludeConstructors() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
isIncludeDynamicAccessors() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
isIncludeDynamicAccessors() - Method in class org.jsonschema2pojo.cli.Arguments
 
isIncludeDynamicAccessors() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
isIncludeDynamicAccessors() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the `includeDynamicAccessors` configuraiton option.
isIncludeDynamicAccessors() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
isIncludeHashcodeAndEquals() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
isIncludeHashcodeAndEquals() - Method in class org.jsonschema2pojo.cli.Arguments
 
isIncludeHashcodeAndEquals() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
isIncludeHashcodeAndEquals() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'includeHashcodeAndEquals' configuration option.
isIncludeHashcodeAndEquals() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
isIncludeJsr303Annotations() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
isIncludeJsr303Annotations() - Method in class org.jsonschema2pojo.cli.Arguments
 
isIncludeJsr303Annotations() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
isIncludeJsr303Annotations() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'includeJsr303Annotations' configuration option.
isIncludeJsr303Annotations() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
isIncludeToString() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
isIncludeToString() - Method in class org.jsonschema2pojo.cli.Arguments
 
isIncludeToString() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
isIncludeToString() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'includeToString' configuration option.
isIncludeToString() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
isInitializeCollections() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
isInitializeCollections() - Method in class org.jsonschema2pojo.cli.Arguments
 
isInitializeCollections() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
isInitializeCollections() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'initializeCollections' configuration option.
isInitializeCollections() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
isParcelable() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
isParcelable() - Method in class org.jsonschema2pojo.cli.Arguments
 
isParcelable() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
isParcelable() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'parcelable' configuration option.
isParcelable() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
isPrimitive(String, JCodeModel) - Static method in class org.jsonschema2pojo.rules.PrimitiveTypes
Check if a name string refers to a given type.
isRemoveOldOutput() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
isRemoveOldOutput() - Method in class org.jsonschema2pojo.cli.Arguments
 
isRemoveOldOutput() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
isRemoveOldOutput() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'removeOldOutput' configuration option.
isRemoveOldOutput() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
isSkip() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Should this task be skipped? (don't read schemas, don't generate types)
isUseBigDecimals() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
isUseBigDecimals() - Method in class org.jsonschema2pojo.cli.Arguments
 
isUseBigDecimals() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
isUseBigDecimals() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'useBigDecimals' configuration option.
isUseBigDecimals() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
isUseCommonsLang3() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
isUseCommonsLang3() - Method in class org.jsonschema2pojo.cli.Arguments
 
isUseCommonsLang3() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
isUseCommonsLang3() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'useCommonsLang3' configuration option.
isUseCommonsLang3() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
isUseDoubleNumbers() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
isUseDoubleNumbers() - Method in class org.jsonschema2pojo.cli.Arguments
 
isUseDoubleNumbers() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
isUseDoubleNumbers() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'useDoubleNumbers' configuration option.
isUseDoubleNumbers() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
isUseJodaDates() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
isUseJodaDates() - Method in class org.jsonschema2pojo.cli.Arguments
 
isUseJodaDates() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
isUseJodaDates() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'useJodaDates' configuration option.
isUseJodaDates() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
isUseJodaLocalDates() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
isUseJodaLocalDates() - Method in class org.jsonschema2pojo.cli.Arguments
 
isUseJodaLocalDates() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
isUseJodaLocalDates() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'useJodaLocalDates' configuration option.
isUseJodaLocalDates() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
isUseJodaLocalTimes() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
isUseJodaLocalTimes() - Method in class org.jsonschema2pojo.cli.Arguments
 
isUseJodaLocalTimes() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
isUseJodaLocalTimes() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'useJodaLocalTimes' configuration option.
isUseJodaLocalTimes() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
isUseLongIntegers() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
isUseLongIntegers() - Method in class org.jsonschema2pojo.cli.Arguments
 
isUseLongIntegers() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
isUseLongIntegers() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'useLongIntegers' configuration option.
isUseLongIntegers() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
isUsePrimitives() - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
isUsePrimitives() - Method in class org.jsonschema2pojo.cli.Arguments
 
isUsePrimitives() - Method in class org.jsonschema2pojo.DefaultGenerationConfig
 
isUsePrimitives() - Method in interface org.jsonschema2pojo.GenerationConfig
Gets the 'usePrimitives' configuration option.
isUsePrimitives() - Method in class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 

J

Jackson1Annotator - Class in org.jsonschema2pojo
Annotates generated Java types using the Jackson 1.x mapping annotations.
Jackson1Annotator() - Constructor for class org.jsonschema2pojo.Jackson1Annotator
 
Jackson2Annotator - Class in org.jsonschema2pojo
Annotates generated Java types using the Jackson 2.x mapping annotations.
Jackson2Annotator() - Constructor for class org.jsonschema2pojo.Jackson2Annotator
 
JavaNameRule - Class in org.jsonschema2pojo.rules
 
JavaNameRule() - Constructor for class org.jsonschema2pojo.rules.JavaNameRule
 
Jsonschema2Pojo - Class in org.jsonschema2pojo
 
Jsonschema2Pojo() - Constructor for class org.jsonschema2pojo.Jsonschema2Pojo
 
Jsonschema2PojoCLI - Class in org.jsonschema2pojo.cli
Main class, providing a command line interface for jsonschema2pojo.
Jsonschema2PojoMojo - Class in org.jsonschema2pojo.maven
When invoked, this goal reads one or more JSON Schema documents and generates DTO style Java classes for data binding.
Jsonschema2PojoMojo() - Constructor for class org.jsonschema2pojo.maven.Jsonschema2PojoMojo
 
Jsonschema2PojoTask - Class in org.jsonschema2pojo.ant
When invoked, this task reads one or more JSON Schema documents and generates DTO style Java classes for data binding.
Jsonschema2PojoTask() - Constructor for class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 

L

LanguageFeatures - Class in org.jsonschema2pojo.util
 
LanguageFeatures() - Constructor for class org.jsonschema2pojo.util.LanguageFeatures
 
LESS_THAN_6 - Static variable in class org.jsonschema2pojo.util.LanguageFeatures
 
LESS_THAN_7 - Static variable in class org.jsonschema2pojo.util.LanguageFeatures
 
LESS_THAN_8 - Static variable in class org.jsonschema2pojo.util.LanguageFeatures
 

M

main(String[]) - Static method in class org.jsonschema2pojo.cli.Jsonschema2PojoCLI
Main method, entry point for the application when invoked via the command line.
MatchPatternsFileFilter - Class in org.jsonschema2pojo.maven
A file filter that supports include and exclude patterns.
MatchPatternsFileFilter.Builder - Class in org.jsonschema2pojo.maven
Builder for MatchPatternFileFilter instances.
MediaRule - Class in org.jsonschema2pojo.rules
Applies the "media" hyper schema rule.
MediaRule(RuleFactory) - Constructor for class org.jsonschema2pojo.rules.MediaRule
Constructs a new media rule.
MinimumMaximumRule - Class in org.jsonschema2pojo.rules
 
MinimumMaximumRule(RuleFactory) - Constructor for class org.jsonschema2pojo.rules.MinimumMaximumRule
 
MinItemsMaxItemsRule - Class in org.jsonschema2pojo.rules
 
MinItemsMaxItemsRule(RuleFactory) - Constructor for class org.jsonschema2pojo.rules.MinItemsMaxItemsRule
 
MinLengthMaxLengthRule - Class in org.jsonschema2pojo.rules
 
MinLengthMaxLengthRule(RuleFactory) - Constructor for class org.jsonschema2pojo.rules.MinLengthMaxLengthRule
 
Models - Class in org.jsonschema2pojo.util
 
Models() - Constructor for class org.jsonschema2pojo.util.Models
 

N

NameHelper - Class in org.jsonschema2pojo.util
 
NameHelper(GenerationConfig) - Constructor for class org.jsonschema2pojo.util.NameHelper
 
NoopAnnotator - Class in org.jsonschema2pojo
No-op annotator that produces no annotations.
NoopAnnotator() - Constructor for class org.jsonschema2pojo.NoopAnnotator
 
normalizeName(String) - Method in class org.jsonschema2pojo.util.NameHelper
 
NOT_FOUND_VALUE_FIELD - Static variable in class org.jsonschema2pojo.rules.DynamicPropertiesRule
 

O

ObjectRule - Class in org.jsonschema2pojo.rules
Applies the generation steps required for schemas of type "object".
ObjectRule(RuleFactory, ParcelableHelper) - Constructor for class org.jsonschema2pojo.rules.ObjectRule
 
openSource(JPackage, String) - Method in class org.jsonschema2pojo.FileCodeWriterWithEncoding
 
org.jsonschema2pojo - package org.jsonschema2pojo
 
org.jsonschema2pojo.ant - package org.jsonschema2pojo.ant
Provides the classes specifically associated with the Ant task for jsonschema2pojo
org.jsonschema2pojo.cli - package org.jsonschema2pojo.cli
Provides the classes specifically associated with the command line interface for jsonschema2pojo
org.jsonschema2pojo.exception - package org.jsonschema2pojo.exception
Provides exception types, thrown during schema parsing or code generation when errors occur
org.jsonschema2pojo.maven - package org.jsonschema2pojo.maven
Provides the classes specifically associated with the Maven plugin for jsonschema2pojo
org.jsonschema2pojo.rules - package 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 - package org.jsonschema2pojo.util
 

P

ParcelableHelper - Class in org.jsonschema2pojo.util
 
ParcelableHelper() - Constructor for class org.jsonschema2pojo.util.ParcelableHelper
 
parse(String[]) - Method in class org.jsonschema2pojo.cli.Arguments
Parses command line arguments and populates this command line instance.
parseProtocol(String) - Static method in class org.jsonschema2pojo.util.URLUtil
 
parseURL(String) - Static method in class org.jsonschema2pojo.util.URLUtil
 
PatternRule - Class in org.jsonschema2pojo.rules
 
PatternRule(RuleFactory) - Constructor for class org.jsonschema2pojo.rules.PatternRule
 
plural(String, String) - Method in class org.jsonschema2pojo.util.Inflector.Builder
 
pluralize(String) - Method in class org.jsonschema2pojo.util.Inflector
 
primitiveType(String, JCodeModel) - Static method in class org.jsonschema2pojo.rules.PrimitiveTypes
Create a primitive type reference (for code generation) using the given primitive type name.
PrimitiveTypes - Class in org.jsonschema2pojo.rules
Helper for checking and creating primitive type references during code generation.
ProjectClasspath - Class in org.jsonschema2pojo.maven
Represents the classpath built from a maven project's dependencies.
ProjectClasspath() - Constructor for class org.jsonschema2pojo.maven.ProjectClasspath
 
PropertiesRule - Class in org.jsonschema2pojo.rules
Applies the "properties" schema rule.
PropertiesRule(RuleFactory) - Constructor for class org.jsonschema2pojo.rules.PropertiesRule
 
propertyField(JFieldVar, JDefinedClass, String, JsonNode) - Method in class org.jsonschema2pojo.AbstractAnnotator
 
propertyField(JFieldVar, JDefinedClass, String, JsonNode) - Method in interface org.jsonschema2pojo.Annotator
Add the necessary annotation to mark a Java field as a JSON property
propertyField(JFieldVar, JDefinedClass, String, JsonNode) - Method in class org.jsonschema2pojo.CompositeAnnotator
 
propertyField(JFieldVar, JDefinedClass, String, JsonNode) - Method in class org.jsonschema2pojo.GsonAnnotator
 
propertyField(JFieldVar, JDefinedClass, String, JsonNode) - Method in class org.jsonschema2pojo.Jackson1Annotator
 
propertyField(JFieldVar, JDefinedClass, String, JsonNode) - Method in class org.jsonschema2pojo.Jackson2Annotator
 
propertyGetter(JMethod, String) - Method in class org.jsonschema2pojo.AbstractAnnotator
 
propertyGetter(JMethod, String) - Method in interface org.jsonschema2pojo.Annotator
Add the necessary annotation to mark a Java method as the getter for a JSON property
propertyGetter(JMethod, String) - Method in class org.jsonschema2pojo.CompositeAnnotator
 
propertyGetter(JMethod, String) - Method in class org.jsonschema2pojo.Jackson1Annotator
 
propertyGetter(JMethod, String) - Method in class org.jsonschema2pojo.Jackson2Annotator
 
propertyInclusion(JDefinedClass, JsonNode) - Method in class org.jsonschema2pojo.AbstractAnnotator
 
propertyInclusion(JDefinedClass, JsonNode) - Method in interface org.jsonschema2pojo.Annotator
Add the necessary annotation to cause only non-null values to be included during serialization.
propertyInclusion(JDefinedClass, JsonNode) - Method in class org.jsonschema2pojo.CompositeAnnotator
 
propertyInclusion(JDefinedClass, JsonNode) - Method in class org.jsonschema2pojo.Jackson1Annotator
 
propertyInclusion(JDefinedClass, JsonNode) - Method in class org.jsonschema2pojo.Jackson2Annotator
 
propertyOrder(JDefinedClass, JsonNode) - Method in class org.jsonschema2pojo.AbstractAnnotator
 
propertyOrder(JDefinedClass, JsonNode) - Method in interface org.jsonschema2pojo.Annotator
Add the necessary annotation to dictate correct property order during serialization
propertyOrder(JDefinedClass, JsonNode) - Method in class org.jsonschema2pojo.CompositeAnnotator
 
propertyOrder(JDefinedClass, JsonNode) - Method in class org.jsonschema2pojo.Jackson1Annotator
 
propertyOrder(JDefinedClass, JsonNode) - Method in class org.jsonschema2pojo.Jackson2Annotator
 
PropertyRule - Class in org.jsonschema2pojo.rules
Applies the schema rules that represent a property definition.
PropertyRule(RuleFactory) - Constructor for class org.jsonschema2pojo.rules.PropertyRule
 
propertySetter(JMethod, String) - Method in class org.jsonschema2pojo.AbstractAnnotator
 
propertySetter(JMethod, String) - Method in interface org.jsonschema2pojo.Annotator
Add the necessary annotation to mark a Java method as the setter for a JSON property
propertySetter(JMethod, String) - Method in class org.jsonschema2pojo.CompositeAnnotator
 
propertySetter(JMethod, String) - Method in class org.jsonschema2pojo.Jackson1Annotator
 
propertySetter(JMethod, String) - Method in class org.jsonschema2pojo.Jackson2Annotator
 

R

removeFragment(URI) - Method in class org.jsonschema2pojo.SchemaStore
 
replaceIllegalCharacters(String) - Method in class org.jsonschema2pojo.util.NameHelper
 
REQUIRED_COMMENT_TEXT - Static variable in class org.jsonschema2pojo.rules.RequiredArrayRule
 
REQUIRED_COMMENT_TEXT - Static variable in class org.jsonschema2pojo.rules.RequiredRule
Text added to JavaDoc to indicate that a field is required
RequiredArrayRule - Class in org.jsonschema2pojo.rules
Applies the "required" JSON schema rule.
RequiredArrayRule(RuleFactory) - Constructor for class org.jsonschema2pojo.rules.RequiredArrayRule
 
RequiredRule - Class in org.jsonschema2pojo.rules
Applies the "required" schema rule.
RequiredRule(RuleFactory) - Constructor for class org.jsonschema2pojo.rules.RequiredRule
 
resolve(URI) - Method in class org.jsonschema2pojo.ContentResolver
Resolve a given URI to read its contents and parse the result as JSON.
resolve(JsonNode, String) - Method in class org.jsonschema2pojo.FragmentResolver
 
resolveType(JPackage, String) - Static method in class org.jsonschema2pojo.util.TypeUtil
 
Rule<T,R> - Interface in org.jsonschema2pojo.rules
Represents a JSON Schema rule (production from JSON Schema).
ruleFactory - Variable in class org.jsonschema2pojo.rules.MediaRule
 
RuleFactory - Class in org.jsonschema2pojo.rules
Provides factory/creation methods for the code generation rules.
RuleFactory(GenerationConfig, Annotator, SchemaStore) - Constructor for class org.jsonschema2pojo.rules.RuleFactory
Create a new rule factory with the given generation config options.
RuleFactory() - Constructor for class org.jsonschema2pojo.rules.RuleFactory
Create a rule factory with the default generation config options.

S

Schema - Class in org.jsonschema2pojo
A JSON Schema document.
Schema(URI, JsonNode, JsonNode) - Constructor for class org.jsonschema2pojo.Schema
 
schemaFromExample(URL) - Method in class org.jsonschema2pojo.SchemaGenerator
 
schemaFromExample(JsonNode) - Method in class org.jsonschema2pojo.SchemaGenerator
 
SchemaGenerator - Class in org.jsonschema2pojo
 
SchemaGenerator() - Constructor for class org.jsonschema2pojo.SchemaGenerator
 
SchemaMapper - Class in org.jsonschema2pojo
Generates Java types from a JSON schema.
SchemaMapper(RuleFactory, SchemaGenerator) - Constructor for class org.jsonschema2pojo.SchemaMapper
Create a schema mapper with the given RuleFactory.
SchemaMapper() - Constructor for class org.jsonschema2pojo.SchemaMapper
Create a schema mapper with the default RuleFactory implementation.
SchemaRule - Class in org.jsonschema2pojo.rules
Applies a JSON schema.
SchemaRule(RuleFactory) - Constructor for class org.jsonschema2pojo.rules.SchemaRule
 
schemas - Variable in class org.jsonschema2pojo.SchemaStore
 
SchemaStore - Class in org.jsonschema2pojo
 
SchemaStore() - Constructor for class org.jsonschema2pojo.SchemaStore
 
selfReferenceWithoutParentFile(Schema, String) - Method in class org.jsonschema2pojo.SchemaStore
 
setAnnotationStyle(AnnotationStyle) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'annotationStyle' property of this class
setAnnotator(Annotator) - Method in class org.jsonschema2pojo.rules.RuleFactory
The annotator used to mark up Java types with any annotations that are required to build JSON compatible types
setClasspath(Path) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
setClasspathRef(Reference) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
setConstructorsRequiredPropertiesOnly(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'constructorsRequiredPropertiesOnly' property of this class.
setCustomAnnotator(String) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'customAnnotator' property of this class
setCustomRuleFactory(String) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
setGenerateBuilders(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'generateBuilders' property of this class.
setGenerationConfig(GenerationConfig) - Method in class org.jsonschema2pojo.rules.RuleFactory
The generation config options for type generation.
setIncludeAccessors(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'includeAccessors' property of this class
setIncludeAdditionalProperties(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'includeAdditionalProperties' property of this class
setIncludeConstructors(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'includeConstructors' property of this class
setIncludeDynamicAccessors(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'includeDynamicAccessors' property of this class
setIncludeHashcodeAndEquals(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'includeHashcodeAndEquals' property of this class
setIncludeJsr303Annotations(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'includeJsr303Annotations' property of this class
setIncludeToString(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'includeToString' property of this class
setInitializeCollections(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'initializeCollections' property of this class
setJavaType(JType) - Method in class org.jsonschema2pojo.Schema
 
setJavaTypeIfEmpty(JType) - Method in class org.jsonschema2pojo.Schema
 
setOutputEncoding(String) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'outputEncoding' property of this class
setParcelable(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'parcelable' property of this class
setPropertyWordDelimiters(String) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
 
setRemoveOldOutput(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'removeOldOutput' property of this class
setSchemaStore(SchemaStore) - Method in class org.jsonschema2pojo.rules.RuleFactory
The object used by this factory to get and store schemas
setSkip(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'skip' property of this task.
setSource(String) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets schema file (or directory containing schema files) that should be used for input.
setSourceType(SourceType) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'sourceType' property of this class
setTargetDirectory(File) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the target (output) directory for generated source files.
setTargetPackage(String) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the target package for generated types.
setTargetVersion(String) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'targetVersion' property of this class
SETTER_NAME - Static variable in class org.jsonschema2pojo.rules.DynamicPropertiesRule
 
setUseBigDecimals(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'useBigDecimals' property of this class
setUseCommonsLang3(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'useCommonsLang3' property of this class
setUseDoubleNumbers(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'useDoubleNumbers' property of this class
setUseJodaDates(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'useJodaDates' property of this class
setUseJodaLocalDates(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'useJodaLocalDates' property of this class
setUseJodaLocalTimes(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'useJodaLocalTimes' property of this class
setUseLongIntegers(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'useLongIntegers' property of this class
setUsePrimitives(boolean) - Method in class org.jsonschema2pojo.ant.Jsonschema2PojoTask
Sets the 'usePrimitives' property of this class.
singular(String, String) - Method in class org.jsonschema2pojo.util.Inflector.Builder
 
singularize(String) - Method in class org.jsonschema2pojo.util.Inflector
 
SourceType - Enum in org.jsonschema2pojo
The type of input/source documents given to jsonschema2pojo.
suppressWarnings(JMethod, String...) - Static method in class org.jsonschema2pojo.util.Models
 

T

TitleRule - Class in org.jsonschema2pojo.rules
Applies the "title" property property.
TitleRule() - Constructor for class org.jsonschema2pojo.rules.TitleRule
 
TypeRule - Class in org.jsonschema2pojo.rules
Applies the "type" schema rule.
TypeRule(RuleFactory) - Constructor for class org.jsonschema2pojo.rules.TypeRule
 
TypeUtil - Class in org.jsonschema2pojo.util
 
TypeUtil() - Constructor for class org.jsonschema2pojo.util.TypeUtil
 

U

uncountable(String...) - Method in class org.jsonschema2pojo.util.Inflector.Builder
 
UrlConverter - Class in org.jsonschema2pojo.cli
Convert a string into a url.
UrlConverter(String) - Constructor for class org.jsonschema2pojo.cli.UrlConverter
 
URLProtocol - Enum in org.jsonschema2pojo
 
URLUtil - Class in org.jsonschema2pojo.util
 
URLUtil() - Constructor for class org.jsonschema2pojo.util.URLUtil
 

V

ValidRule - Class in org.jsonschema2pojo.rules
 
ValidRule(RuleFactory) - Constructor for class org.jsonschema2pojo.rules.ValidRule
 
valueOf(String) - Static method in enum org.jsonschema2pojo.AnnotationStyle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jsonschema2pojo.SourceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jsonschema2pojo.URLProtocol
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jsonschema2pojo.AnnotationStyle
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jsonschema2pojo.SourceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jsonschema2pojo.URLProtocol
Returns an array containing the constants of this enum type, in the order they are declared.

W

withCaseSensitive(boolean) - Method in class org.jsonschema2pojo.maven.MatchPatternsFileFilter.Builder
 
withSourceDirectory(String) - Method in class org.jsonschema2pojo.maven.MatchPatternsFileFilter.Builder
 
A B C D E F G I J L M N O P R S T U V W 
Skip navigation links

Copyright © 2016. All rights reserved.