| Package | Description |
|---|---|
| org.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 | Field and Description |
|---|---|
protected Map<URI,Schema> |
SchemaStore.schemas |
| Modifier and Type | Method and Description |
|---|---|
Schema |
SchemaStore.create(Schema parent,
String path)
Create or look up a new schema using the given schema as a parent and the
path as a relative reference.
|
Schema |
SchemaStore.create(URI id)
Create or look up a new schema which has the given ID and read the
contents of the given ID as a URL.
|
| Modifier and Type | Method and Description |
|---|---|
Schema |
SchemaStore.create(Schema parent,
String path)
Create or look up a new schema using the given schema as a parent and the
path as a relative reference.
|
protected boolean |
SchemaStore.selfReferenceWithoutParentFile(Schema parent,
String path) |
| Modifier and Type | Method and Description |
|---|---|
com.sun.codemodel.JType |
EnumRule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.sun.codemodel.JClassContainer container,
Schema schema)
Applies this schema rule to take the required code generation steps.
|
com.sun.codemodel.JType |
TypeRule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.sun.codemodel.JClassContainer jClassContainer,
Schema schema)
Applies this schema rule to take the required code generation steps.
|
com.sun.codemodel.JType |
SchemaRule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode schemaNode,
com.sun.codemodel.JClassContainer generatableType,
Schema schema)
Applies this schema rule to take the required code generation steps.
|
com.sun.codemodel.JDefinedClass |
PropertiesRule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.sun.codemodel.JDefinedClass jclass,
Schema schema)
Applies this schema rule to take the required code generation steps.
|
com.sun.codemodel.JDefinedClass |
PropertyRule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.sun.codemodel.JDefinedClass jclass,
Schema schema)
Applies this schema rule to take the required code generation steps.
|
com.sun.codemodel.JDefinedClass |
RequiredArrayRule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.sun.codemodel.JDefinedClass jclass,
Schema schema) |
com.sun.codemodel.JDefinedClass |
AdditionalPropertiesRule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.sun.codemodel.JDefinedClass jclass,
Schema schema)
Applies this schema rule to take the required code generation steps.
|
com.sun.codemodel.JDocComment |
DescriptionRule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.sun.codemodel.JDocCommentable generatableType,
Schema schema)
Applies this schema rule to take the required code generation steps.
|
com.sun.codemodel.JDocComment |
RequiredRule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.sun.codemodel.JDocCommentable generatableType,
Schema schema)
Applies this schema rule to take the required code generation steps.
|
com.sun.codemodel.JDocComment |
TitleRule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.sun.codemodel.JDocCommentable generatableType,
Schema schema)
Applies this schema rule to take the required code generation steps.
|
com.sun.codemodel.JFieldVar |
MinLengthMaxLengthRule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.sun.codemodel.JFieldVar field,
Schema currentSchema) |
com.sun.codemodel.JFieldVar |
MinItemsMaxItemsRule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.sun.codemodel.JFieldVar field,
Schema currentSchema) |
com.sun.codemodel.JFieldVar |
DefaultRule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.sun.codemodel.JFieldVar field,
Schema currentSchema)
Applies this schema rule to take the required code generation steps.
|
com.sun.codemodel.JFieldVar |
ValidRule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.sun.codemodel.JFieldVar field,
Schema currentSchema) |
com.sun.codemodel.JFieldVar |
PatternRule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.sun.codemodel.JFieldVar field,
Schema currentSchema) |
com.sun.codemodel.JFieldVar |
MinimumMaximumRule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.sun.codemodel.JFieldVar field,
Schema currentSchema) |
com.sun.codemodel.JClass |
ArrayRule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.sun.codemodel.JPackage jpackage,
Schema schema)
Applies this schema rule to take the required code generation steps.
|
com.sun.codemodel.JType |
ObjectRule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.sun.codemodel.JPackage _package,
Schema schema)
Applies this schema rule to take the required code generation steps.
|
com.sun.codemodel.JType |
FormatRule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
com.sun.codemodel.JType baseType,
Schema schema)
Applies this schema rule to take the required code generation steps.
|
com.sun.codemodel.JType |
MediaRule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode mediaNode,
com.sun.codemodel.JType baseType,
Schema schema)
Applies this schema rule.
|
R |
Rule.apply(String nodeName,
com.fasterxml.jackson.databind.JsonNode node,
T generatableType,
Schema currentSchema)
Add whatever Java source is required to the given generatable to
represent this schema rule.
|
Copyright © 2015. All rights reserved.