public class WeiboResponse extends Object implements Serializable
weibo4j.DirectMessage,
Status,
User,
Serialized Form| Constructor and Description |
|---|
WeiboResponse() |
WeiboResponse(Response res) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
ensureRootNodeNameIs(String[] rootNames,
Element elem) |
protected static void |
ensureRootNodeNameIs(String rootName,
Document doc) |
protected static void |
ensureRootNodeNameIs(String rootName,
Element elem) |
protected static boolean |
getBoolean(String key,
org.json.JSONObject json) |
protected static boolean |
getChildBoolean(String str,
Element elem) |
protected static Date |
getChildDate(String str,
Element elem) |
protected static Date |
getChildDate(String str,
Element elem,
String format) |
protected static int |
getChildInt(String str,
Element elem) |
protected static long |
getChildLong(String str,
Element elem) |
protected static String |
getChildText(String str,
Element elem) |
protected static int |
getInt(String key,
org.json.JSONObject json) |
protected static long |
getLong(String key,
org.json.JSONObject json) |
int |
getRateLimitLimit() |
int |
getRateLimitRemaining() |
long |
getRateLimitReset() |
protected static String |
getString(String name,
org.json.JSONObject json,
boolean decode) |
protected static String |
getTextContent(String str,
Element elem) |
protected static boolean |
isRootNodeNilClasses(Document doc) |
protected static Date |
parseDate(String str,
String format) |
public WeiboResponse()
public WeiboResponse(Response res)
protected static void ensureRootNodeNameIs(String rootName, Element elem) throws WeiboException
WeiboExceptionprotected static void ensureRootNodeNameIs(String[] rootNames, Element elem) throws WeiboException
WeiboExceptionprotected static void ensureRootNodeNameIs(String rootName, Document doc) throws WeiboException
WeiboExceptionprotected static boolean isRootNodeNilClasses(Document doc)
protected static Date getChildDate(String str, Element elem) throws WeiboException
WeiboExceptionprotected static Date getChildDate(String str, Element elem, String format) throws WeiboException
WeiboExceptionprotected static Date parseDate(String str, String format) throws WeiboException
WeiboExceptionprotected static int getInt(String key, org.json.JSONObject json) throws org.json.JSONException
org.json.JSONExceptionprotected static long getLong(String key, org.json.JSONObject json) throws org.json.JSONException
org.json.JSONExceptionprotected static boolean getBoolean(String key, org.json.JSONObject json) throws org.json.JSONException
org.json.JSONExceptionpublic int getRateLimitLimit()
public int getRateLimitRemaining()
public long getRateLimitReset()
Copyright © 2013. All Rights Reserved.