public class XmlRpcContentHandler extends ContentHandler
Modifier and Type | Field and Description |
---|---|
boolean |
faultOccured
Tells if a fault occurred during the parsing
|
java.lang.Object |
result
Gets the object unmarshalled from the last XML-RPC response parsing
|
Constructor and Description |
---|
XmlRpcContentHandler() |
Modifier and Type | Method and Description |
---|---|
void |
characters(java.lang.String chars)
Receive notification of character data.
|
void |
endElement(int tag)
Receive notification of the end of an element.
|
void |
startElement(int tag,
AttributeList atts)
Receive notification of the beginning of an element.
|
cdata, comment, tagName
public java.lang.Object result
public boolean faultOccured
public void characters(java.lang.String chars)
ContentHandler
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.
characters
in class ContentHandler
chars
- The string of characters from the XML document.public void endElement(int tag)
ContentHandler
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).
endElement
in class ContentHandler
tag
- tag identifier for this elementpublic void startElement(int tag, AttributeList atts)
ContentHandler
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.
startElement
in class ContentHandler
tag
- tag identifier for this elementatts
- The attributes list attached to the element.