org.apache.xmlrpc.parser
public class XmlRpcResponseParser extends RecursiveTypeParserImpl
| Constructor Summary | |
|---|---|
| XmlRpcResponseParser(XmlRpcStreamRequestConfig pConfig, TypeFactory pTypeFactory) Creates a new instance. | |
| Method Summary | |
|---|---|
| protected void | addResult(Object pResult) |
| void | endElement(String pURI, String pLocalName, String pQName) |
| int | getErrorCode() If the response contained a fault, returns the error code. |
| String | getErrorMessage() If the response contained a fault, returns the error message. |
| boolean | isSuccess() Returns whether the response returned success. |
| void | startDocument() |
| void | startElement(String pURI, String pLocalName, String pQName, Attributes pAttrs) |
Parameters: pConfig The response configuration. pTypeFactory The type factory for creating instances of TypeParser.
Returns: The numeric error code.
Returns: The error message.
Returns: True, if the response indicated success, false otherwise.