superwaba.ext.xplat.webservice
Class XmlRpcContentHandler

java.lang.Object
  |
  +--superwaba.ext.xplat.webservice.XmlRpcContentHandler

public class XmlRpcContentHandler
extends java.lang.Object
implements ContentHandler

Methods here are called by the xml parser used in XmlRpcClient


Field Summary
 boolean faultOccured
          Tells if a fault occurred during parsing
 java.lang.Object result
          Gets the object unmarshalled from the last xml-rpc response parsing
 
Constructor Summary
XmlRpcContentHandler()
           
 
Method Summary
 void characters(java.lang.String chars)
          Receive notification of character data.
 void comment(java.lang.String s)
          Receive notification of comment data.
 void endElement(int tag)
          Receive notification of the end of an element.
 void setDecryptor(BlowfishECB blow)
          Sets the Blowfish object holding the proper decryption key.
 void startElement(int tag, AttributeList atts)
          Receive notification of the beginning of an element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

result

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

faultOccured

public boolean faultOccured
Tells if a fault occurred during parsing
Constructor Detail

XmlRpcContentHandler

public XmlRpcContentHandler()
Method Detail

setDecryptor

public void setDecryptor(BlowfishECB 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)
Description copied from interface: ContentHandler
Receive notification of comment data.

The XMLReader will call this method to report each chunk of comments. This XMLReader implementation return all contiguous comment data in a single chunk.

Specified by:
comment in interface ContentHandler
Tags copied from interface: ContentHandler
Parameters:
s - The string of characters from the XML document.

characters

public void characters(java.lang.String chars)
Description copied from interface: ContentHandler
Receive notification of character data.

The XMLReader will call this method to report each chunk of character data. This XMLReader implementation return all contiguous character data in a single chunk.

Specified by:
characters in interface ContentHandler
Tags copied from interface: ContentHandler
Parameters:
s - The string of characters from the XML document.

endElement

public void endElement(int tag)
Description copied from interface: ContentHandler
Receive notification of the end of an element.

The XMLReader will invoke this method at the end of every element in the XML document; there will be a corresponding startElement event for every endElement event (even when the element is empty).

Specified by:
endElement in interface ContentHandler
Tags copied from interface: ContentHandler
Parameters:
tag - tag identifier for this element

startElement

public void startElement(int tag,
                         AttributeList atts)
Description copied from interface: ContentHandler
Receive notification of the beginning of an element.

The XmlReader will invoke this method at the beginning of every element in the XML document; there will be a corresponding endElement event for every startElement event (even when the element is empty). All of the element's content will be reported, in order, before the corresponding endElement event.

Specified by:
startElement in interface ContentHandler
Tags copied from interface: ContentHandler
Parameters:
tag - tag identifier for this element
atts - The attributes list attached to the element.