public final class ResolvingSchemaWalker extends SchemaWalker
Unlike SimpleSchemaWalker, this schema walker will attempt to
resolve a JSON Reference when it sees one; it also performs syntax checking
on new trees.
It also prevents information loss or infinite walking. The first event can happen if a JSON Reference resolves to an immediate child of the current tree (in which case all other children would be ignored), the second can happen if the reference resolves to a parent of the current tree.
tree| Constructor and Description |
|---|
ResolvingSchemaWalker(SchemaTree tree) |
ResolvingSchemaWalker(SchemaTree tree,
SchemaWalkingConfiguration cfg) |
| Modifier and Type | Method and Description |
|---|---|
protected SchemaTree |
resolveTree(SchemaTree tree,
ProcessingReport report) |
String |
toString() |
walkpublic ResolvingSchemaWalker(SchemaTree tree, SchemaWalkingConfiguration cfg)
public ResolvingSchemaWalker(SchemaTree tree)
protected SchemaTree resolveTree(SchemaTree tree, ProcessingReport report) throws ProcessingException
resolveTree in class SchemaWalkerProcessingExceptionpublic String toString()
toString in class SchemaWalker