org.apache.xmlrpc.serializer
public class XmlRpcWriter extends Object
| Field Summary | |
|---|---|
| static String | EXTENSIONS_URI The namespace URI for proprietary XML-RPC extensions. |
| Constructor Summary | |
|---|---|
| XmlRpcWriter(XmlRpcStreamConfig pConfig, ContentHandler pHandler, TypeFactory pTypeFactory) Creates a new instance. | |
| Method Summary | |
|---|---|
| void | write(XmlRpcRequest pRequest) Writes a clients request to the output stream. |
| void | write(XmlRpcRequestConfig pConfig, Object pResult) Writes a servers response to the output stream. |
| void | write(XmlRpcRequestConfig pConfig, int pCode, String pMessage) Writes a servers error message to the output stream. |
| protected void | writeValue(Object pObject) Writes the XML representation of a Java object. |
Parameters: pConfig The clients configuration. pHandler The target SAX handler. pTypeFactory The type factory being used to create serializers.
Parameters: pRequest The request being written.
Throws: SAXException Writing the request failed.
Parameters: pConfig The request configuration. pResult The result object.
Throws: SAXException Writing the response failed.
Parameters: pConfig The request configuration. pCode The error code pMessage The error message
Throws: SAXException Writing the error message failed.
Parameters: pObject The object being written.
Throws: SAXException Writing the object failed.