public class ResponseParser extends Object
| Constructor and Description |
|---|
ResponseParser() |
| Modifier and Type | Method and Description |
|---|---|
Object |
parse(SerializerHandler serializerHandler,
InputStream response,
boolean debugMode)
The given InputStream must contain the xml response from an xmlrpc server.
|
static void |
printDocument(Document doc,
OutputStream out) |
public Object parse(SerializerHandler serializerHandler, InputStream response, boolean debugMode) throws XMLRPCException
response - The InputStream of the server response.XMLRPCException - Will be thrown whenever something fails.XMLRPCServerException - Will be thrown, if the server returns an error.public static void printDocument(Document doc, OutputStream out) throws IOException, TransformerException
IOExceptionTransformerExceptionCopyright © 2018. All rights reserved.