org.apache.xmlrpc.applet
class XmlRpcSupport extends HandlerBase
Nested Class Summary | |
---|---|
class | XmlRpcSupport.Value
This represents an XML-RPC Value while the request is being parsed. |
class | XmlRpcSupport.XmlWriter
A quick and dirty XML writer.
|
Field Summary | |
---|---|
static int | ARRAY |
Base64 | base64 |
static int | BASE64 |
static int | BOOLEAN |
StringBuffer | cdata |
XmlRpcSupport.Value | currentValue |
static boolean | debug |
static int | DATE |
static int | DOUBLE |
boolean | fault |
static DateFormat | format |
static int | INTEGER |
String | methodName |
boolean | readCdata |
Object | result |
static int | STRING |
static int | STRUCT |
static String[] | types |
URL | url |
Stack | values |
Constructor Summary | |
---|---|
XmlRpcSupport(URL url) |
Method Summary | |
---|---|
void | characters(char[] ch, int start, int length)
Method called by SAX driver. |
void | endElement(String name)
Method called by SAX driver. |
void | error(SAXParseException e) |
Object | execute(String method, Vector arguments)
Generate an XML-RPC request and send it to the server. |
void | fatalError(SAXParseException e) |
void | objectParsed(Object what)
Called when the return value has been parsed. |
void | parse(InputStream is)
Parse the input stream. |
static void | setDebug(boolean val)
Switch debugging output on/off. |
void | startElement(String name, AttributeList atts)
Method called by SAX driver. |
void | writeObject(Object what, XmlRpcSupport.XmlWriter writer)
Writes the XML representation of a supported Java object to the XML writer. |
void | writeRequest(XmlRpcSupport.XmlWriter writer, String method, Vector params)
Generate an XML-RPC request from a method name and a parameter vector. |
Parameters: url
Parameters: e
Throws: SAXException
Throws: XmlRpcException If the remote host returned a fault message. IOException If the call could not be made for lower level problems.
Parameters: e
Throws: SAXException
objectParsed
is called.