public class JSONInputReader extends Object implements InputReader
Constructor and Description |
---|
JSONInputReader()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
read(InputStream input,
Schema inputSchema,
InputBuilder messageBuilder)
Read, parse the XML and notify with the output JSON message
|
public JSONInputReader() throws IOException
IOException
public void read(InputStream input, Schema inputSchema, InputBuilder messageBuilder) throws ReaderException
read
in interface InputReader
input
- XML message InputStreaminputSchema
- Schema of the input messagemessageBuilder
- Reference of the InputXMLMessageBuilderReaderException
- Exceptions in the parsing stageCopyright © 2017 WSO2. All rights reserved.