facebook4j.internal.json
Class PageSettingJSONImpl

java.lang.Object
  extended by facebook4j.internal.json.FacebookResponseImpl
      extended by facebook4j.internal.json.PageSettingJSONImpl
All Implemented Interfaces:
FacebookResponse, PageSetting, java.io.Serializable

public class PageSettingJSONImpl
extends FacebookResponseImpl
implements PageSetting, java.io.Serializable

Since:
Facebook4J 1.2.0
Author:
Ryuji Yamashita - roundrop at gmail.com
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface facebook4j.FacebookResponse
FacebookResponse.Metadata
 
Field Summary
private static long serialVersionUID
           
private  java.lang.String setting
           
private  java.lang.Boolean value
           
 
Constructor Summary
PageSettingJSONImpl(HttpResponse res, Configuration conf)
           
PageSettingJSONImpl(JSONObject json)
           
 
Method Summary
(package private) static ResponseList<PageSetting> createLikeList(HttpResponse res, Configuration conf)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getSetting()
           
 java.lang.Boolean getValue()
           
 int hashCode()
           
private  void init(JSONObject json)
           
 java.lang.String toString()
           
 
Methods inherited from class facebook4j.internal.json.FacebookResponseImpl
getMetadata
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

setting

private java.lang.String setting

value

private java.lang.Boolean value
Constructor Detail

PageSettingJSONImpl

PageSettingJSONImpl(HttpResponse res,
                    Configuration conf)
              throws FacebookException
Throws:
FacebookException

PageSettingJSONImpl

PageSettingJSONImpl(JSONObject json)
              throws FacebookException
Throws:
FacebookException
Method Detail

init

private void init(JSONObject json)

getSetting

public java.lang.String getSetting()
Specified by:
getSetting in interface PageSetting

getValue

public java.lang.Boolean getValue()
Specified by:
getValue in interface PageSetting

createLikeList

static ResponseList<PageSetting> createLikeList(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