facebook4j.internal.json
Class TabJSONImpl
java.lang.Object
facebook4j.internal.json.FacebookResponseImpl
facebook4j.internal.json.TabJSONImpl
- All Implemented Interfaces:
- FacebookResponse, Tab, java.io.Serializable
final class TabJSONImpl
- extends FacebookResponseImpl
- implements Tab, java.io.Serializable
- Author:
- Ryuji Yamashita - roundrop at gmail.com
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
id
private java.lang.String id
name
private java.lang.String name
link
private java.net.URL link
application
private IdNameEntity application
customName
private java.lang.String customName
isPermanent
private java.lang.Boolean isPermanent
position
private java.lang.Integer position
isNonConnectionLandingTab
private java.lang.Boolean isNonConnectionLandingTab
imageURL
private java.net.URL imageURL
customImageURL
private java.net.URL customImageURL
TabJSONImpl
TabJSONImpl(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
TabJSONImpl
TabJSONImpl(JSONObject json)
throws FacebookException
- Throws:
FacebookException
init
private void init(JSONObject json)
throws FacebookException
- Throws:
FacebookException
getId
public java.lang.String getId()
- Specified by:
getId in interface Tab
getName
public java.lang.String getName()
- Specified by:
getName in interface Tab
getLink
public java.net.URL getLink()
- Specified by:
getLink in interface Tab
getApplication
public IdNameEntity getApplication()
- Specified by:
getApplication in interface Tab
getCustomName
public java.lang.String getCustomName()
- Specified by:
getCustomName in interface Tab
isPermanent
public java.lang.Boolean isPermanent()
- Specified by:
isPermanent in interface Tab
getPosition
public java.lang.Integer getPosition()
- Specified by:
getPosition in interface Tab
isNonConnectionLandingTab
public java.lang.Boolean isNonConnectionLandingTab()
- Specified by:
isNonConnectionLandingTab in interface Tab
getImageURL
public java.net.URL getImageURL()
- Specified by:
getImageURL in interface Tab
getCustomImageURL
public java.net.URL getCustomImageURL()
- Specified by:
getCustomImageURL in interface Tab
createTabList
static ResponseList<Tab> createTabList(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object