Package | Description |
---|---|
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 |
AdditionalPropertiesRule
Applies the "additionalProperties" JSON schema rule.
|
class |
ArrayRule
Applies the "type":"array" schema rule.
|
class |
BuilderRule |
class |
CommentRule
Applies the "$comment" schema property from json-schema-07.
|
class |
ConstructorRule |
class |
DefaultRule
Applies the "default" schema rule.
|
class |
DescriptionRule
Applies the "description" schema property.
|
class |
DigitsRule |
class |
DynamicPropertiesRule
Adds methods for dynamically getting, setting, and building properties.
|
class |
EnumRule
Applies the "enum" schema rule.
|
class |
FormatRule
Applies the "format" schema rule.
|
class |
JavaNameRule |
class |
MediaRule
Applies the "media" hyper schema rule.
|
class |
MinimumMaximumRule |
class |
MinItemsMaxItemsRule |
class |
MinLengthMaxLengthRule |
class |
NotRequiredRule
Applies the "required" schema rule.
|
class |
ObjectRule
Applies the generation steps required for schemas of type "object".
|
class |
PatternRule |
class |
PropertiesRule
Applies the "properties" schema rule.
|
class |
PropertyRule
Applies the schema rules that represent a property definition.
|
class |
RequiredArrayRule
Applies the "required" JSON schema rule.
|
class |
RequiredRule
Applies the "required" schema rule.
|
class |
SchemaRule
Applies a JSON schema.
|
class |
TitleRule
Applies the "title" property property.
|
class |
TypeRule
Applies the "type" schema rule.
|
class |
ValidRule |
Modifier and Type | Method and Description |
---|---|
Rule<com.sun.codemodel.JDefinedClass,com.sun.codemodel.JDefinedClass> |
RuleFactory.getAdditionalPropertiesRule()
Provides a rule instance that should be applied when an
"additionalProperties" declaration is found in the schema.
|
Rule<com.sun.codemodel.JPackage,com.sun.codemodel.JClass> |
RuleFactory.getArrayRule()
Provides a rule instance that should be applied when an "array"
declaration is found in the schema.
|
Rule<com.sun.codemodel.JDefinedClass,com.sun.codemodel.JDefinedClass> |
RuleFactory.getBuilderRule() |
Rule<com.sun.codemodel.JDocCommentable,com.sun.codemodel.JDocComment> |
RuleFactory.getCommentRule()
Provides a rule instance that should be applied when a "$comment"
declaration is found in the schema.
|
Rule<com.sun.codemodel.JDefinedClass,com.sun.codemodel.JDefinedClass> |
RuleFactory.getConstructorRule()
Provides a rule instance that should be applied to add constructors to a generated type
|
Rule<com.sun.codemodel.JFieldVar,com.sun.codemodel.JFieldVar> |
RuleFactory.getDefaultRule()
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.
|
Rule<com.sun.codemodel.JDocCommentable,com.sun.codemodel.JDocComment> |
RuleFactory.getDescriptionRule()
Provides a rule instance that should be applied when a "description"
declaration is found in the schema.
|
Rule<com.sun.codemodel.JFieldVar,com.sun.codemodel.JFieldVar> |
RuleFactory.getDigitsRule()
Provides a rule instance that should be applied when a property
declaration is found in the schema, to assign he digits validation
on that property.
|
Rule<com.sun.codemodel.JDefinedClass,com.sun.codemodel.JDefinedClass> |
RuleFactory.getDynamicPropertiesRule()
Provides a rule instance that adds methods for dynamically getting, setting, and
building properties.
|
Rule<com.sun.codemodel.JClassContainer,com.sun.codemodel.JType> |
RuleFactory.getEnumRule()
Provides a rule instance that should be applied when an "enum"
declaration is found in the schema.
|
Rule<com.sun.codemodel.JType,com.sun.codemodel.JType> |
RuleFactory.getFormatRule()
Provides a rule instance that should be applied when a "format"
declaration is found in the schema.
|
Rule<com.sun.codemodel.JDocCommentable,com.sun.codemodel.JDocComment> |
RuleFactory.getJavaNameRule() |
Rule<com.sun.codemodel.JType,com.sun.codemodel.JType> |
RuleFactory.getMediaRule()
Provides a rule instance that should be applied when a "media"
declaration is found in the schema.
|
Rule<com.sun.codemodel.JFieldVar,com.sun.codemodel.JFieldVar> |
RuleFactory.getMinimumMaximumRule()
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
|
Rule<com.sun.codemodel.JFieldVar,com.sun.codemodel.JFieldVar> |
RuleFactory.getMinItemsMaxItemsRule()
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
|
Rule<com.sun.codemodel.JFieldVar,com.sun.codemodel.JFieldVar> |
RuleFactory.getMinLengthMaxLengthRule()
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
|
Rule<com.sun.codemodel.JDocCommentable,com.sun.codemodel.JDocCommentable> |
RuleFactory.getNotRequiredRule()
Provides a rule instance that should be applied when a "required"
declaration is not found in the schema.
|
Rule<com.sun.codemodel.JPackage,com.sun.codemodel.JType> |
RuleFactory.getObjectRule()
Provides a rule instance that should be applied when an "object"
declaration is found in the schema.
|
Rule<com.sun.codemodel.JFieldVar,com.sun.codemodel.JFieldVar> |
RuleFactory.getPatternRule()
Provides a rule instance that should be applied when a "pattern"
declaration is found in the schema for a property.
|
Rule<com.sun.codemodel.JDefinedClass,com.sun.codemodel.JDefinedClass> |
RuleFactory.getPropertiesRule()
Provides a rule instance that should be applied when a "properties"
declaration is found in the schema.
|
Rule<com.sun.codemodel.JDefinedClass,com.sun.codemodel.JDefinedClass> |
RuleFactory.getPropertyRule()
Provides a rule instance that should be applied when a property
declaration (child of the "properties" declaration) is found in the
schema.
|
Rule<com.sun.codemodel.JDefinedClass,com.sun.codemodel.JDefinedClass> |
RuleFactory.getRequiredArrayRule()
Provides a rule instance that should be applied when a "required"
declaration is found in the schema.
|
Rule<com.sun.codemodel.JDocCommentable,com.sun.codemodel.JDocCommentable> |
RuleFactory.getRequiredRule()
Provides a rule instance that should be applied when a "required"
declaration is found in the schema.
|
Rule<com.sun.codemodel.JClassContainer,com.sun.codemodel.JType> |
RuleFactory.getSchemaRule()
Provides a rule instance that should be applied when a schema declaration
is found in the schema.
|
Rule<com.sun.codemodel.JDocCommentable,com.sun.codemodel.JDocComment> |
RuleFactory.getTitleRule()
Provides a rule instance that should be applied when a "title"
declaration is found in the schema.
|
Rule<com.sun.codemodel.JClassContainer,com.sun.codemodel.JType> |
RuleFactory.getTypeRule()
Provides a rule instance that should be applied to a node to find its
equivalent Java type.
|
Rule<com.sun.codemodel.JFieldVar,com.sun.codemodel.JFieldVar> |
RuleFactory.getValidRule()
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
|
Copyright © 2022. All rights reserved.