public final class SchemaExpander extends Object implements SchemaListener<SchemaTree>
| Constructor and Description |
|---|
SchemaExpander(SchemaTree tree) |
| Modifier and Type | Method and Description |
|---|---|
SchemaTree |
getValue()
Return the value produced by this listener
|
void |
onEnter(JsonPointer pointer)
Method called when the walker changes pointer into the currently walked
tree
|
void |
onExit(JsonPointer pointer)
Method called when the walking process exits a subtree
|
void |
onTreeChange(SchemaTree oldTree,
SchemaTree newTree)
Method called when the walking process changes trees
|
void |
onWalk(SchemaTree tree)
Method called when the current tree node is walked
|
public SchemaExpander(SchemaTree tree)
public void onTreeChange(SchemaTree oldTree, SchemaTree newTree) throws ProcessingException
SchemaListeneronTreeChange in interface SchemaListener<SchemaTree>oldTree - the old treenewTree - the new treeProcessingException - processing failureResolvingSchemaWalkerpublic void onWalk(SchemaTree tree) throws ProcessingException
SchemaListeneronWalk in interface SchemaListener<SchemaTree>tree - the current treeProcessingException - processing failurepublic void onEnter(JsonPointer pointer) throws ProcessingException
SchemaListeneronEnter in interface SchemaListener<SchemaTree>pointer - the relative pointer into the treeProcessingException - processing failurepublic void onExit(JsonPointer pointer) throws ProcessingException
SchemaListeneronExit in interface SchemaListener<SchemaTree>pointer - the relative pointer into the treeProcessingException - processing failurepublic SchemaTree getValue()
SchemaListenergetValue in interface SchemaListener<SchemaTree>Copyright © 2013. All Rights Reserved.