| Modifier and Type | Method and Description |
|---|---|
SchemaTree |
SchemaExpander.getValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
SchemaExpander.onTreeChange(SchemaTree oldTree,
SchemaTree newTree) |
void |
SchemaExpander.onWalk(SchemaTree tree) |
| Constructor and Description |
|---|
SchemaExpander(SchemaTree tree) |
| 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
|
SchemaTree |
RefResolver.rawProcess(ProcessingReport report,
SchemaTree input) |
| Modifier and Type | Method and Description |
|---|---|
SchemaTree |
RefResolver.rawProcess(ProcessingReport report,
SchemaTree input) |
| 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<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree)
Main syntax checking function
|
void |
SyntaxChecker.checkSyntax(Collection<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<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
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 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<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
ExclusiveMinimumSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
EnumSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
PatternSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
AdditionalSyntaxChecker.checkValue(Collection<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 |
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 |
DraftV4TypeSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
NotSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
RequiredSyntaxChecker.checkValue(Collection<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 |
SchemaArraySyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
DraftV3TypeKeywordSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
URISyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
void |
TypeOnlySyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
DivisorSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
SchemaOrSchemaArraySyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
SchemaMapSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
PositiveIntegerSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
DependenciesSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected abstract void |
SchemaOrSchemaArraySyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree)
Perform extra check on the keyword
|
protected abstract void |
SchemaMapSyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree)
Perform extra checks on the value
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
LinksSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
MediaSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
| 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(JsonPointer pointer) |
SchemaTree |
CanonicalSchemaTree.append(JsonPointer pointer) |
SchemaTree |
SchemaTree.append(JsonPointer pointer)
Relocate the tree relatively to the current tree's pointer
|
SchemaTree |
InlineSchemaTree.setPointer(JsonPointer pointer) |
SchemaTree |
CanonicalSchemaTree.setPointer(JsonPointer pointer) |
SchemaTree |
SchemaTree.setPointer(JsonPointer pointer)
Relocate the tree with an absolute pointer
|
| 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 | Field and Description |
|---|---|
protected SchemaTree |
SchemaVisitor.schemaTree |
protected SchemaTree |
SchemaWalker.tree
The current schema tree being walked
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract SchemaTree |
SchemaWalker2.resolveTree(SchemaTree tree) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
SchemaWalker2.accept(SchemaTree tree,
SchemaVisitor<T> visitor) |
SchemaWalker |
SchemaWalkerFactory.newWalker(SchemaTree tree) |
void |
SchemaListener.onTreeChange(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
|
T |
SchemaWalkerProcessor.rawProcess(ProcessingReport report,
SchemaTree input) |
protected abstract SchemaTree |
SchemaWalker2.resolveTree(SchemaTree tree) |
abstract void |
SchemaVisitor.visitingPath(SchemaTree tree) |
| Constructor and Description |
|---|
ResolvingSchemaWalker(SchemaTree tree) |
ResolvingSchemaWalker(SchemaTree tree,
SchemaWalkingConfiguration cfg) |
SchemaVisitor(SchemaTree schemaTree) |
SchemaWalker(SchemaTree tree,
SchemaWalkingConfiguration cfg) |
SimpleSchemaWalker(SchemaTree tree) |
SimpleSchemaWalker(SchemaTree tree,
SchemaWalkingConfiguration cfg) |
| 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 |
AdditionalPropertiesPointerCollector.collect(Collection<JsonPointer> pointers,
SchemaTree tree) |
void |
AdditionalItemsPointerCollector.collect(Collection<JsonPointer> pointers,
SchemaTree tree) |
void |
DependenciesPointerCollector.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 |
SchemaArrayPointerCollector.collect(Collection<JsonPointer> pointers,
SchemaTree tree) |
void |
DraftV3TypeKeywordPointerCollector.collect(Collection<JsonPointer> pointers,
SchemaTree tree) |
void |
SchemaOrSchemaArrayPointerCollector.collect(Collection<JsonPointer> pointers,
SchemaTree tree) |
void |
SchemaMapPointerCollector.collect(Collection<JsonPointer> pointers,
SchemaTree tree) |
protected JsonNode |
AbstractPointerCollector.getNode(SchemaTree tree) |
Copyright © 2013. All Rights Reserved.