Modifier and Type | Method and Description |
---|---|
void |
SyntaxChecker.checkSyntax(Collection<JsonPointer> pointers,
ProcessingReport report,
SchemaTree tree)
Check the syntax for this keyword
|
void |
AbstractSyntaxChecker.checkSyntax(Collection<JsonPointer> pointers,
ProcessingReport report,
SchemaTree tree)
Main syntax checking function
|
protected abstract void |
AbstractSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
ProcessingReport report,
SchemaTree tree)
Method which all syntax checkers extending this class must implement
|
protected JsonNode |
AbstractSyntaxChecker.getNode(SchemaTree tree)
Convenience method to retrieve the keyword's value
|
protected <T> ProcessingMessage |
AbstractSyntaxChecker.newMsg(SchemaTree tree,
T msg)
Provide a new message for reporting purposes
|
Modifier and Type | Method and Description |
---|---|
protected void |
PatternSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
ProcessingReport report,
SchemaTree tree) |
protected void |
ExclusiveMinimumSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
ProcessingReport report,
SchemaTree tree) |
protected void |
ExclusiveMaximumSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
ProcessingReport report,
SchemaTree tree) |
protected void |
EnumSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
ProcessingReport report,
SchemaTree tree) |
protected void |
AdditionalSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
ProcessingReport report,
SchemaTree tree) |
protected void |
PatternPropertiesSyntaxChecker.extraChecks(ProcessingReport report,
SchemaTree tree) |
Modifier and Type | Method and Description |
---|---|
protected void |
DraftV3DependenciesSyntaxChecker.checkDependency(ProcessingReport report,
String name,
SchemaTree tree) |
protected void |
ExtendsSyntaxChecker.extraChecks(ProcessingReport report,
SchemaTree tree) |
protected void |
DraftV3PropertiesSyntaxChecker.extraChecks(ProcessingReport report,
SchemaTree tree) |
protected void |
DraftV3ItemsSyntaxChecker.extraChecks(ProcessingReport report,
SchemaTree tree) |
Modifier and Type | Method and Description |
---|---|
protected void |
DraftV4DependenciesSyntaxChecker.checkDependency(ProcessingReport report,
String name,
SchemaTree tree) |
protected void |
RequiredSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
ProcessingReport report,
SchemaTree tree) |
protected void |
NotSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
ProcessingReport report,
SchemaTree tree) |
protected void |
DraftV4TypeSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
ProcessingReport report,
SchemaTree tree) |
protected void |
DraftV4PropertiesSyntaxChecker.extraChecks(ProcessingReport report,
SchemaTree tree) |
protected void |
DraftV4ItemsSyntaxChecker.extraChecks(ProcessingReport report,
SchemaTree tree) |
protected void |
DefinitionsSyntaxChecker.extraChecks(ProcessingReport report,
SchemaTree tree) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
DependenciesSyntaxChecker.checkDependency(ProcessingReport report,
String name,
SchemaTree tree)
Check one dependency which is not a schema dependency
|
protected void |
URISyntaxChecker.checkValue(Collection<JsonPointer> pointers,
ProcessingReport report,
SchemaTree tree) |
void |
TypeOnlySyntaxChecker.checkValue(Collection<JsonPointer> pointers,
ProcessingReport report,
SchemaTree tree) |
protected void |
SchemaOrSchemaArraySyntaxChecker.checkValue(Collection<JsonPointer> pointers,
ProcessingReport report,
SchemaTree tree) |
protected void |
SchemaMapSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
ProcessingReport report,
SchemaTree tree) |
protected void |
SchemaArraySyntaxChecker.checkValue(Collection<JsonPointer> pointers,
ProcessingReport report,
SchemaTree tree) |
protected void |
PositiveIntegerSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
ProcessingReport report,
SchemaTree tree) |
protected void |
DraftV3TypeKeywordSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
ProcessingReport report,
SchemaTree tree) |
protected void |
DivisorSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
ProcessingReport report,
SchemaTree tree) |
protected void |
DependenciesSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
ProcessingReport report,
SchemaTree tree) |
protected abstract void |
SchemaOrSchemaArraySyntaxChecker.extraChecks(ProcessingReport report,
SchemaTree tree)
Perform extra check on the keyword
|
protected abstract void |
SchemaMapSyntaxChecker.extraChecks(ProcessingReport report,
SchemaTree tree)
Perform extra checks on the value
|
Modifier and Type | Method and Description |
---|---|
SchemaTree |
SchemaLoader.get(URI uri)
Get a schema tree from the given URI
|
SchemaTree |
SchemaLoader.load(JsonNode schema)
Create a new tree from a schema
|
SchemaTree |
Dereferencing.newTree(JsonNode node)
Create a new schema tree with an empty loading URI
|
abstract SchemaTree |
Dereferencing.newTree(JsonRef ref,
JsonNode node)
Create a new schema tree with a given loading URI and JSON Schema
|
Constructor and Description |
---|
SchemaHolder(SchemaTree value) |
Modifier and Type | Method and Description |
---|---|
static Equivalence<SchemaTree> |
SchemaTreeEquivalence.getInstance() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
SchemaTreeEquivalence.doEquivalent(SchemaTree a,
SchemaTree b) |
protected int |
SchemaTreeEquivalence.doHash(SchemaTree t) |
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 |
SchemaTree.append(JsonPointer pointer)
Relocate the tree relatively to the current tree's pointer
|
SchemaTree |
InlineSchemaTree.append(JsonPointer pointer) |
SchemaTree |
CanonicalSchemaTree.append(JsonPointer pointer) |
SchemaTree |
SchemaTree.setPointer(JsonPointer pointer)
Relocate the tree with an absolute pointer
|
SchemaTree |
InlineSchemaTree.setPointer(JsonPointer pointer) |
SchemaTree |
CanonicalSchemaTree.setPointer(JsonPointer pointer) |
Modifier and Type | Field and Description |
---|---|
protected SchemaTree |
SchemaWalker.tree
The current schema tree being walked
|
Modifier and Type | Method and Description |
---|---|
SchemaWalker |
SchemaWalkerProvider.newWalker(SchemaTree tree) |
void |
SchemaListener.onInit(SchemaTree tree)
Method called before schema walking commences
|
void |
SchemaListener.onNewTree(SchemaTree oldTree,
SchemaTree newTree)
Method called when the walking process changes trees
|
void |
SchemaListener.onWalk(SchemaTree tree)
Method called when the current tree node is walked
|
Constructor and Description |
---|
ResolvingSchemaWalker(SchemaTree tree,
Dictionary<PointerCollector> collectors,
Dictionary<SyntaxChecker> checkers,
LoadingConfiguration cfg)
Fully customized schema walker
|
ResolvingSchemaWalker(SchemaTree tree,
SchemaVersion version)
Schema walker for a given version and with a default loading
configuration
|
ResolvingSchemaWalker(SchemaTree tree,
SchemaVersion version,
LoadingConfiguration cfg)
Constructor for a given schema version
|
SchemaWalker(SchemaTree tree,
Dictionary<PointerCollector> dict)
Protected constructor with a custom pointer collector dictionary
|
SchemaWalker(SchemaTree tree,
SchemaVersion version)
Protected constructor for a given version
|
SimpleSchemaWalker(SchemaTree tree,
Dictionary<PointerCollector> dict) |
SimpleSchemaWalker(SchemaTree tree,
SchemaVersion version) |
Modifier and Type | Method and Description |
---|---|
void |
PointerCollector.collect(Collection<JsonPointer> pointers,
SchemaTree tree)
Collect pointers for the current schema node
|
Modifier and Type | Method and Description |
---|---|
void |
DependenciesPointerCollector.collect(Collection<JsonPointer> pointers,
SchemaTree tree) |
void |
AdditionalPropertiesPointerCollector.collect(Collection<JsonPointer> pointers,
SchemaTree tree) |
void |
AdditionalItemsPointerCollector.collect(Collection<JsonPointer> pointers,
SchemaTree tree) |
Modifier and Type | Method and Description |
---|---|
void |
NotPointerCollector.collect(Collection<JsonPointer> pointers,
SchemaTree tree) |
Modifier and Type | Method and Description |
---|---|
void |
SchemaOrSchemaArrayPointerCollector.collect(Collection<JsonPointer> pointers,
SchemaTree tree) |
void |
SchemaMapPointerCollector.collect(Collection<JsonPointer> pointers,
SchemaTree tree) |
void |
SchemaArrayPointerCollector.collect(Collection<JsonPointer> pointers,
SchemaTree tree) |
void |
DraftV3TypeKeywordPointerCollector.collect(Collection<JsonPointer> pointers,
SchemaTree tree) |
protected JsonNode |
AbstractPointerCollector.getNode(SchemaTree tree) |
Copyright © 2013. All Rights Reserved.