public class InputBuilder extends Object
Constructor and Description |
---|
InputBuilder(InputOutputDataType inputType,
Schema inputSchema)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
buildInputModel(InputStream inputStream,
InputVariableNotifier inputVariableNotifier) |
void |
notifyWithResult(String builtMessage)
This method will be called by the XMLInputReader instance to notify with the output
|
public InputBuilder(InputOutputDataType inputType, Schema inputSchema) throws IOException
inputSchema
- Input message JSON schemaIOException
public void buildInputModel(InputStream inputStream, InputVariableNotifier inputVariableNotifier) throws ReaderException
inputStream
- XML input messageinputVariableNotifier
- Reference to the MappingHandler instanceReaderException
public void notifyWithResult(String builtMessage) throws JSException, ReaderException, SchemaException
builtMessage
- Built JSON messageJSException
ReaderException
SchemaException
Copyright © 2021 WSO2. All rights reserved.