T - the value type produced by the listenerspublic final class SchemaWalkerProcessor<T> extends RawProcessor<SchemaTree,T>
This processor requires that you provide both a SchemaWalkerFactory, to build a schema walker out of a SchemaTree,
and a SchemaListenerFactory, to build a schema listener.
When processing an input, a new walker and a new listener will be built,
and the schema will be processed. The return value of the listener will then
be wrapped into a ValueHolder.
| Constructor and Description |
|---|
SchemaWalkerProcessor(SchemaWalkerFactory walkerFactory,
SchemaListenerFactory<T> listenerFactory)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
T |
rawProcess(ProcessingReport report,
SchemaTree input)
Process a raw input, return a raw output
|
newMessage, processpublic SchemaWalkerProcessor(SchemaWalkerFactory walkerFactory, SchemaListenerFactory<T> listenerFactory)
walkerFactory - a SchemaWalker providerlistenerFactory - a SchemaListener providerpublic T rawProcess(ProcessingReport report, SchemaTree input) throws ProcessingException
RawProcessorrawProcess in class RawProcessor<SchemaTree,T>report - the report to useinput - the raw inputProcessingException - processing failureRawProcessor.newMessage(Object)Copyright © 2013. All Rights Reserved.