|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.twitterapime.parser.DefaultXMLHandler
com.twitterapime.rest.handler.StatusHandler
public final class StatusHandler
Handler class for parsing the status' XML results from Twitter API.
| Field Summary |
|---|
| Fields inherited from class com.twitterapime.parser.DefaultXMLHandler |
|---|
xmlPath |
| Constructor Summary | |
|---|---|
StatusHandler()
|
|
| Method Summary | |
|---|---|
void |
endDocument()
Callback method called to notify the end of the document. |
Tweet |
getParsedTweet()
Return the parsed tweet. |
void |
loadParsedTweet(Tweet tweet)
Load the parsed values into the given tweet. |
void |
text(java.lang.String text)
Callback method called to notify a string data inside an element. |
| Methods inherited from class com.twitterapime.parser.DefaultXMLHandler |
|---|
endElement, startDocument, startElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatusHandler()
| Method Detail |
|---|
public void text(java.lang.String text)
throws ParserException
XMLHandlerCallback method called to notify a string data inside an element.
text in interface XMLHandlertext in class DefaultXMLHandlertext - String data.
ParserException - If a parser error occurs.DefaultXMLHandler.text(java.lang.String)
public void endDocument()
throws ParserException
XMLHandlerCallback method called to notify the end of the document.
endDocument in interface XMLHandlerendDocument in class DefaultXMLHandlerParserException - If a parser error occurs.DefaultXMLHandler.endDocument()public Tweet getParsedTweet()
Return the parsed tweet.
public void loadParsedTweet(Tweet tweet)
Load the parsed values into the given tweet.
tweet - Tweet to be loaded.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||