Package totalcross.xml.rpc
Class XmlRpcContentHandler
- java.lang.Object
-
- totalcross.xml.ContentHandler
-
- totalcross.xml.rpc.XmlRpcContentHandler
-
public class XmlRpcContentHandler extends ContentHandler
Methods here are called by the XML parser used in XmlRpcClient
-
-
Field Summary
Fields Modifier and Type Field Description booleanfaultOccuredTells if a fault occurred during the parsingjava.lang.ObjectresultGets the object unmarshalled from the last XML-RPC response parsing
-
Constructor Summary
Constructors Constructor Description XmlRpcContentHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcharacters(java.lang.String chars)Receive notification of character data.voidendElement(int tag)Receive notification of the end of an element.voidstartElement(int tag, AttributeList atts)Receive notification of the beginning of an element.-
Methods inherited from class totalcross.xml.ContentHandler
cdata, comment, tagName
-
-
-
-
Method Detail
-
characters
public void characters(java.lang.String chars)
Description copied from class:ContentHandlerReceive 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:
charactersin classContentHandler- Parameters:
chars- The string of characters from the XML document.
-
endElement
public void endElement(int tag)
Description copied from class:ContentHandlerReceive 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
startElementevent for every endElement event (even when the element is empty).- Specified by:
endElementin classContentHandler- Parameters:
tag- tag identifier for this element
-
startElement
public void startElement(int tag, AttributeList atts)Description copied from class:ContentHandlerReceive 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
endElementevent 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:
startElementin classContentHandler- Parameters:
tag- tag identifier for this elementatts- The attributes list attached to the element.
-
-