@Beta public final class SchemaExpander extends Object implements SchemaListener<SchemaTree>
| Constructor and Description |
|---|
SchemaExpander(SchemaTree tree) |
| Modifier and Type | Method and Description |
|---|---|
void |
enteringPath(JsonPointer path,
ProcessingReport report)
Method called when entering a path in the schema
|
void |
exitingPath(JsonPointer path,
ProcessingReport report)
Method called when exiting a path in the schema
|
SchemaTree |
getValue()
Return the value produced by this listener
|
void |
visiting(SchemaTree schemaTree,
ProcessingReport report)
Method called when visiting the tree at the current path
|
public SchemaExpander(SchemaTree tree)
public void enteringPath(JsonPointer path, ProcessingReport report) throws ProcessingException
SchemaListenerenteringPath in interface SchemaListener<SchemaTree>path - the entered pathreport - the report to useProcessingException - processing failurepublic void visiting(SchemaTree schemaTree, ProcessingReport report) throws ProcessingException
SchemaListenervisiting in interface SchemaListener<SchemaTree>schemaTree - the visited treereport - the report to useProcessingException - processing failurepublic void exitingPath(JsonPointer path, ProcessingReport report) throws ProcessingException
SchemaListenerexitingPath in interface SchemaListener<SchemaTree>path - the exited pathreport - the report to useProcessingException - processing failurepublic SchemaTree getValue()
SchemaListenergetValue in interface SchemaListener<SchemaTree>