twitter4j
Class TwitterResponse

java.lang.Object
  extended by twitter4j.TwitterResponse
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DirectMessage, IDs, QueryResult, RateLimitStatus, Status, Tweet, User

public class TwitterResponse
extends java.lang.Object
implements java.io.Serializable

Super class of Twitter Response objects.

Author:
Yusuke Yamamoto - yusuke at mac.com
See Also:
DirectMessage, Status, User, UserWithStatus, Serialized Form

Constructor Summary
TwitterResponse()
           
 
Method Summary
protected  java.util.Date encodeDate(java.lang.String str, java.lang.String format)
           
protected  void ensureRootNodeNameIs(java.lang.String[] rootNames, org.w3c.dom.Element elem)
           
protected static void ensureRootNodeNameIs(java.lang.String rootName, org.w3c.dom.Document doc)
           
protected  void ensureRootNodeNameIs(java.lang.String rootName, org.w3c.dom.Element elem)
           
protected  boolean getChildBoolean(java.lang.String str, org.w3c.dom.Element elem)
           
protected  java.util.Date getChildDate(java.lang.String str, org.w3c.dom.Element elem)
           
protected  java.util.Date getChildDate(java.lang.String str, org.w3c.dom.Element elem, java.lang.String format)
           
protected  int getChildInt(java.lang.String str, org.w3c.dom.Element elem)
           
protected  long getChildLong(java.lang.String str, org.w3c.dom.Element elem)
           
protected  java.lang.String getChildText(java.lang.String str, org.w3c.dom.Element elem)
           
protected  java.lang.String getString(java.lang.String name, twitter4j.org.json.JSONObject json)
           
protected static boolean isRootNodeNilClasses(org.w3c.dom.Document doc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwitterResponse

public TwitterResponse()
Method Detail

ensureRootNodeNameIs

protected void ensureRootNodeNameIs(java.lang.String rootName,
                                    org.w3c.dom.Element elem)
                             throws TwitterException
Throws:
TwitterException

ensureRootNodeNameIs

protected void ensureRootNodeNameIs(java.lang.String[] rootNames,
                                    org.w3c.dom.Element elem)
                             throws TwitterException
Throws:
TwitterException

ensureRootNodeNameIs

protected static void ensureRootNodeNameIs(java.lang.String rootName,
                                           org.w3c.dom.Document doc)
                                    throws TwitterException
Throws:
TwitterException

isRootNodeNilClasses

protected static boolean isRootNodeNilClasses(org.w3c.dom.Document doc)

getChildText

protected java.lang.String getChildText(java.lang.String str,
                                        org.w3c.dom.Element elem)

getChildInt

protected int getChildInt(java.lang.String str,
                          org.w3c.dom.Element elem)

getChildLong

protected long getChildLong(java.lang.String str,
                            org.w3c.dom.Element elem)

getString

protected java.lang.String getString(java.lang.String name,
                                     twitter4j.org.json.JSONObject json)

getChildBoolean

protected boolean getChildBoolean(java.lang.String str,
                                  org.w3c.dom.Element elem)

getChildDate

protected java.util.Date getChildDate(java.lang.String str,
                                      org.w3c.dom.Element elem)
                               throws TwitterException
Throws:
TwitterException

getChildDate

protected java.util.Date getChildDate(java.lang.String str,
                                      org.w3c.dom.Element elem,
                                      java.lang.String format)
                               throws TwitterException
Throws:
TwitterException

encodeDate

protected java.util.Date encodeDate(java.lang.String str,
                                    java.lang.String format)
                             throws TwitterException
Throws:
TwitterException


Copyright © 2009. All Rights Reserved.