Package | Description |
---|---|
com.github.fge.jsonschema.core.keyword.syntax | |
com.github.fge.jsonschema.core.keyword.syntax.checkers |
Keyword syntax checkers
|
com.github.fge.jsonschema.core.keyword.syntax.checkers.common |
Keyword syntax checkers common to both draft v3 and draft v4
|
com.github.fge.jsonschema.core.keyword.syntax.checkers.draftv3 |
Keyword syntax checkers specific to draft v3
|
com.github.fge.jsonschema.core.keyword.syntax.checkers.draftv4 |
Keyword syntax checkers specific to draft v4
|
com.github.fge.jsonschema.core.keyword.syntax.checkers.helpers |
Keyword syntax checker helper classes
|
com.github.fge.jsonschema.core.keyword.syntax.checkers.hyperschema |
Syntax checkers for draft v4 hyperschema keywords
|
com.github.fge.jsonschema.core.load |
Schema loading and JSON Reference resolving
|
com.github.fge.jsonschema.core.tree |
Navigable JSON tree representations
|
com.github.fge.jsonschema.core.util.equivalence |
Modifier and Type | Method and Description |
---|---|
SchemaTree |
SyntaxProcessor.rawProcess(ProcessingReport report,
SchemaTree input) |
Modifier and Type | Method and Description |
---|---|
SchemaTree |
SyntaxProcessor.rawProcess(ProcessingReport report,
SchemaTree input) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSyntaxChecker.checkSyntax(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree)
Main syntax checking function
|
void |
SyntaxChecker.checkSyntax(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree)
Check the syntax for this keyword
|
protected abstract void |
AbstractSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree)
Method which all syntax checkers extending this class must implement
|
protected com.fasterxml.jackson.databind.JsonNode |
AbstractSyntaxChecker.getNode(SchemaTree tree)
Convenience method to retrieve the keyword's value
|
protected ProcessingMessage |
AbstractSyntaxChecker.newMsg(SchemaTree tree,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
String key)
Provide a new message for reporting purposes
|
Modifier and Type | Method and Description |
---|---|
protected void |
ExclusiveMaximumSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
AdditionalSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
PatternSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
EnumSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
ExclusiveMinimumSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
PatternPropertiesSyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree) |
Modifier and Type | Method and Description |
---|---|
protected void |
DraftV3DependenciesSyntaxChecker.checkDependency(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
String name,
SchemaTree tree) |
protected void |
DraftV3TypeKeywordSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
DraftV3ItemsSyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree) |
protected void |
ExtendsSyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree) |
protected void |
DraftV3PropertiesSyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree) |
Modifier and Type | Method and Description |
---|---|
protected void |
DraftV4DependenciesSyntaxChecker.checkDependency(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
String name,
SchemaTree tree) |
protected void |
RequiredSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
NotSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
DraftV4TypeSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
DraftV4ItemsSyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree) |
protected void |
DefinitionsSyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree) |
protected void |
DraftV4PropertiesSyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
DependenciesSyntaxChecker.checkDependency(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
String name,
SchemaTree tree)
Check one dependency which is not a schema dependency
|
protected void |
DependenciesSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
SchemaMapSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
DivisorSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
URISyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
SchemaOrSchemaArraySyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
void |
TypeOnlySyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
SchemaArraySyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
PositiveIntegerSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected abstract void |
SchemaMapSyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree)
Perform extra checks on the value
|
protected abstract void |
SchemaOrSchemaArraySyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree)
Perform extra check on the keyword
|
Modifier and Type | Method and Description |
---|---|
protected void |
MediaSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
LinksSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
Modifier and Type | Method and Description |
---|---|
SchemaTree |
SchemaLoader.get(URI uri)
Get a schema tree from the given URI
|
SchemaTree |
SchemaLoader.load(com.fasterxml.jackson.databind.JsonNode schema)
Create a new tree from a schema
|
SchemaTree |
Dereferencing.newTree(com.fasterxml.jackson.databind.JsonNode node)
Create a new schema tree with an empty loading URI
|
SchemaTree |
Dereferencing.newTree(JsonRef ref,
com.fasterxml.jackson.databind.JsonNode node)
Create a new schema tree with a given loading URI and JSON Schema
|
protected abstract SchemaTree |
Dereferencing.newTree(SchemaKey key,
com.fasterxml.jackson.databind.JsonNode node) |
SchemaTree |
RefResolver.rawProcess(ProcessingReport report,
SchemaTree input) |
Modifier and Type | Method and Description |
---|---|
SchemaTree |
RefResolver.rawProcess(ProcessingReport report,
SchemaTree input) |
Modifier and Type | Class and Description |
---|---|
class |
BaseSchemaTree
Base implementation of a
SchemaTree |
class |
CanonicalSchemaTree
A
SchemaTree using canonical dereferencing |
class |
InlineSchemaTree
A
SchemaTree using inline dereferencing |
Modifier and Type | Method and Description |
---|---|
SchemaTree |
InlineSchemaTree.append(com.github.fge.jackson.jsonpointer.JsonPointer pointer) |
SchemaTree |
CanonicalSchemaTree.append(com.github.fge.jackson.jsonpointer.JsonPointer pointer) |
SchemaTree |
SchemaTree.append(com.github.fge.jackson.jsonpointer.JsonPointer pointer)
Relocate the tree relatively to the current tree's pointer
|
SchemaTree |
InlineSchemaTree.setPointer(com.github.fge.jackson.jsonpointer.JsonPointer pointer) |
SchemaTree |
CanonicalSchemaTree.setPointer(com.github.fge.jackson.jsonpointer.JsonPointer pointer) |
SchemaTree |
SchemaTree.setPointer(com.github.fge.jackson.jsonpointer.JsonPointer pointer)
Relocate the tree with an absolute pointer
|
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Equivalence<SchemaTree> |
SchemaTreeEquivalence.getInstance()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
SchemaTreeEquivalence.doEquivalent(SchemaTree a,
SchemaTree b)
Deprecated.
|
protected int |
SchemaTreeEquivalence.doHash(SchemaTree t)
Deprecated.
|
Copyright © 2016. All rights reserved.