|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.xml.sax.HandlerBase | +--helma.xmlrpc.XmlRpc
This abstract base class provides basic capabilities for XML-RPC, like parsing of parameters or encoding Java objects into XML-RPC format. Any XML parser with a SAX interface can be used.
XmlRpcServer and XmlRpcClient are the classes that actually implement an XML-RCP server and client.
XmlRpcServer
,
XmlRpcClient
Field Summary | |
static boolean |
debug
|
static java.lang.String |
version
|
Constructor Summary | |
XmlRpc()
|
Method Summary | |
void |
characters(char[] ch,
int start,
int length)
Method called by SAX driver. |
void |
endElement(java.lang.String name)
Method called by SAX driver. |
void |
error(org.xml.sax.SAXParseException e)
|
void |
fatalError(org.xml.sax.SAXParseException e)
|
static boolean |
getKeepAlive()
get current HTTP keepalive mode. |
static void |
setDebug(boolean val)
Switch debugging output on/off. |
static void |
setDriver(java.lang.Class driver)
Set the SAX Parser to be used by directly passing the Class object. |
static void |
setDriver(java.lang.String driver)
Set the SAX Parser to be used. |
static void |
setEncoding(java.lang.String enc)
Set the encoding of the XML. |
static void |
setKeepAlive(boolean val)
Switch HTTP keepalive on/off. |
void |
startElement(java.lang.String name,
org.xml.sax.AttributeList atts)
Method called by SAX driver. |
Methods inherited from class org.xml.sax.HandlerBase |
endDocument, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, startDocument, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String version
public static boolean debug
Constructor Detail |
public XmlRpc()
Method Detail |
public static void setDriver(java.lang.String driver) throws java.lang.ClassNotFoundException
public static void setDriver(java.lang.Class driver)
public static void setEncoding(java.lang.String enc)
public static void setDebug(boolean val)
public static void setKeepAlive(boolean val)
public static boolean getKeepAlive()
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
characters
in class org.xml.sax.HandlerBase
public void endElement(java.lang.String name) throws org.xml.sax.SAXException
endElement
in class org.xml.sax.HandlerBase
public void startElement(java.lang.String name, org.xml.sax.AttributeList atts) throws org.xml.sax.SAXException
startElement
in class org.xml.sax.HandlerBase
public void error(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
error
in class org.xml.sax.HandlerBase
public void fatalError(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
fatalError
in class org.xml.sax.HandlerBase
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |