public interface SchemaVisitor<T>
Modifier and Type | Method and Description |
---|---|
SchemaVisitorAction |
afterVisitNonTerminal(Schema nonTerminal)
Invoked for schemas with children after its children have been visited.
|
T |
get()
Invoked when visiting is complete.
|
SchemaVisitorAction |
visitNonTerminal(Schema nonTerminal)
Invoked for schema with children before proceeding to visit the children.
|
SchemaVisitorAction |
visitTerminal(Schema terminal)
Invoked for schemas that do not have "child" schemas (like string, int ...)
or for a previously encountered schema with children, which will be treated
as a terminal.
|
SchemaVisitorAction visitTerminal(Schema terminal)
terminal
- SchemaVisitorAction visitNonTerminal(Schema nonTerminal)
nonTerminal
- SchemaVisitorAction afterVisitNonTerminal(Schema nonTerminal)
nonTerminal
- T get()
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.