com.nimkathana.swx.xmlrpc
Class XmlRpcContentHandler

java.lang.Object
  extended bycom.nimkathana.swx.xmlrpc.XmlRpcContentHandler
All Implemented Interfaces:
superwaba.ext.xplat.xml.ContentHandler

public class XmlRpcContentHandler
extends java.lang.Object
implements superwaba.ext.xplat.xml.ContentHandler

Methods here are called by the xml parser used in XmlRpcClient

Version:
April 2004
Author:
Nimkathana (www.nimkathana.com)

Field Summary
static int FAULT
           
static int I4
           
static int MEMBER
           
static int METHODNAME
           
static int NAME
           
static int VALUE
           
 
Constructor Summary
XmlRpcContentHandler()
           
 
Method Summary
 void characters(java.lang.String chars)
           
 void comment(java.lang.String s)
           
 boolean didFault()
          Tells if a fault occurred during parsing
 void endElement(int tag)
           
 java.lang.Object getResult()
          Gets the object unmarshalled from the last xml-rpc response parsing
 void setDecryptor(Blowfish blow)
          Sets the Blowfish object holding the proper decryption key.
 void startElement(int tag, superwaba.ext.xplat.xml.AttributeList atts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALUE

public static final int VALUE
See Also:
Constant Field Values

MEMBER

public static final int MEMBER
See Also:
Constant Field Values

FAULT

public static final int FAULT
See Also:
Constant Field Values

METHODNAME

public static final int METHODNAME
See Also:
Constant Field Values

NAME

public static final int NAME
See Also:
Constant Field Values

I4

public static final int I4
See Also:
Constant Field Values
Constructor Detail

XmlRpcContentHandler

public XmlRpcContentHandler()
Method Detail

didFault

public boolean didFault()
Tells if a fault occurred during parsing

Returns:
true if a fault occurred, false otherwise

getResult

public java.lang.Object getResult()
Gets the object unmarshalled from the last xml-rpc response parsing

Returns:
The xml-rpc unmarshalled object

setDecryptor

public void setDecryptor(Blowfish blow)
Sets the Blowfish object holding the proper decryption key. For when you are expecting Blowfish encrypted data from the server.

Parameters:
blow - The Blowfish object used to decrypt incoming data

comment

public void comment(java.lang.String s)
Specified by:
comment in interface superwaba.ext.xplat.xml.ContentHandler

characters

public void characters(java.lang.String chars)
Specified by:
characters in interface superwaba.ext.xplat.xml.ContentHandler

endElement

public void endElement(int tag)
Specified by:
endElement in interface superwaba.ext.xplat.xml.ContentHandler

startElement

public void startElement(int tag,
                         superwaba.ext.xplat.xml.AttributeList atts)
Specified by:
startElement in interface superwaba.ext.xplat.xml.ContentHandler


Copyright © 2004 Nimkathana Corp. All Rights Reserved.