facebook4j.internal.json
Class z_F4JInternalJSONImplFactory

java.lang.Object
  extended by facebook4j.internal.json.z_F4JInternalJSONImplFactory
All Implemented Interfaces:
z_F4JInternalFactory, Serializable

public class z_F4JInternalJSONImplFactory
extends Object
implements z_F4JInternalFactory

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

Constructor Summary
z_F4JInternalJSONImplFactory(Configuration conf)
           
 
Method Summary
 ResponseList<Account> createAccountList(HttpResponse res)
           
 ResponseList<Achievement> createAchievementList(HttpResponse res)
           
 ResponseList<Activity> createActivityList(HttpResponse res)
           
 ResponseList<Admin> createAdminList(HttpResponse res)
           
 Album createAlbum(HttpResponse res)
           
 ResponseList<Album> createAlbumList(HttpResponse res)
           
 Application createApplication(HttpResponse res)
           
 ResponseList<Book> createBookList(HttpResponse res)
           
 Checkin createCheckin(HttpResponse res)
           
 ResponseList<Checkin> createCheckinList(HttpResponse res)
           
 Comment createComment(HttpResponse res)
           
 ResponseList<Comment> createCommentList(HttpResponse res)
           
 Domain createDomain(HttpResponse res)
           
 List<Domain> createDomainArray(HttpResponse res)
           
 Event createEvent(HttpResponse res)
           
 ResponseList<Event> createEventList(HttpResponse res)
           
 ResponseList<Family> createFamilyList(HttpResponse res)
           
 Friendlist createFriendlist(HttpResponse res)
           
 ResponseList<Friend> createFriendList(HttpResponse res)
           
 ResponseList<Friendlist> createFriendlistList(HttpResponse res)
           
 ResponseList<FriendRequest> createFriendRequestList(HttpResponse res)
           
 ResponseList<Game> createGameList(HttpResponse res)
           
 Group createGroup(HttpResponse res)
           
 ResponseList<GroupDoc> createGroupDocList(HttpResponse res)
           
 ResponseList<Group> createGroupList(HttpResponse res)
           
 ResponseList<GroupMember> createGroupMemberList(HttpResponse res)
           
 IdNameEntity createIdNameEntity(HttpResponse res)
           
 ResponseList<IdNameEntity> createIdNameEntityList(HttpResponse res)
           
 InboxResponseList<Message> createInboxList(HttpResponse res)
           
 ResponseList<Insight> createInsightList(HttpResponse res)
           
 ResponseList<Interest> createInterestList(HttpResponse res)
           
 ResponseList<JSONObject> createJSONObjectList(HttpResponse res)
           
 ResponseList<JSONObject> createJSONObjectList(JSONObject json)
           
 ResponseList<Like> createLikeList(HttpResponse res)
           
 Link createLink(HttpResponse res)
           
 ResponseList<Link> createLinkList(HttpResponse res)
           
 ResponseList<Location> createLocationList(HttpResponse res)
           
 Message createMessage(HttpResponse res)
           
 ResponseList<Message> createMessageList(HttpResponse res)
           
 ResponseList<Milestone> createMilestoneList(HttpResponse res)
           
 ResponseList<Movie> createMovieList(HttpResponse res)
           
 ResponseList<Music> createMusicList(HttpResponse res)
           
 Note createNote(HttpResponse res)
           
 ResponseList<Note> createNoteList(HttpResponse res)
           
 ResponseList<Notification> createNotificationList(HttpResponse res)
           
 Offer createOffer(HttpResponse res)
           
 ResponseList<Offer> createOfferList(HttpResponse res)
           
 Page createPage(HttpResponse res)
           
 ResponseList<Page> createPageList(HttpResponse res)
           
 ResponseList<PageSetting> createPageSettingList(HttpResponse res)
           
 List<Permission> createPermissions(HttpResponse res)
           
 Photo createPhoto(HttpResponse res)
           
 ResponseList<Photo> createPhotoList(HttpResponse res)
           
 ResponseList<Place> createPlaceList(HttpResponse res)
           
 ResponseList<Poke> createPokeList(HttpResponse res)
           
 Post createPost(HttpResponse res)
           
 ResponseList<Post> createPostList(HttpResponse res)
           
 Question createQuestion(HttpResponse res)
           
 ResponseList<Question> createQuestionList(HttpResponse res)
           
 ResponseList<Question.Option> createQuestionOptionList(HttpResponse res)
           
 ResponseList<QuestionVotes> createQuestionVotesList(HttpResponse res)
           
<T> ResponseList<T>
createResponseList(HttpResponse res, Class<T> jsonObjectType)
           
 ResponseList<RSVPStatus> createRSVPStatusList(HttpResponse res)
           
 ResponseList<Score> createScoreList(HttpResponse res)
           
 ResponseList<Subscribedto> createSubscribedtoList(HttpResponse res)
           
 ResponseList<Subscriber> createSubscriberList(HttpResponse res)
           
 ResponseList<Tab> createTabList(HttpResponse res)
           
 ResponseList<Tagged> createTaggedList(HttpResponse res)
           
 ResponseList<Tag> createTagList(HttpResponse res)
           
 ResponseList<Television> createTelevisionList(HttpResponse res)
           
 TestUser createTestUser(HttpResponse res)
           
 TestUser createTestUser(JSONObject json)
           
 User createUser(HttpResponse res)
           
 User createUser(JSONObject json)
           
 List<User> createUserArray(HttpResponse res)
           
 ResponseList<User> createUserList(HttpResponse res)
           
 Video createVideo(HttpResponse res)
           
 ResponseList<Video> createVideoList(HttpResponse res)
           
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

z_F4JInternalJSONImplFactory

public z_F4JInternalJSONImplFactory(Configuration conf)
Method Detail

createUser

public User createUser(HttpResponse res)
                throws FacebookException
Specified by:
createUser in interface z_F4JInternalFactory
Throws:
FacebookException

createUser

public User createUser(JSONObject json)
                throws FacebookException
Specified by:
createUser in interface z_F4JInternalFactory
Throws:
FacebookException

createUserList

public ResponseList<User> createUserList(HttpResponse res)
                                  throws FacebookException
Specified by:
createUserList in interface z_F4JInternalFactory
Throws:
FacebookException

createUserArray

public List<User> createUserArray(HttpResponse res)
                           throws FacebookException
Specified by:
createUserArray in interface z_F4JInternalFactory
Throws:
FacebookException

createIdNameEntity

public IdNameEntity createIdNameEntity(HttpResponse res)
                                throws FacebookException
Specified by:
createIdNameEntity in interface z_F4JInternalFactory
Throws:
FacebookException

createIdNameEntityList

public ResponseList<IdNameEntity> createIdNameEntityList(HttpResponse res)
                                                  throws FacebookException
Specified by:
createIdNameEntityList in interface z_F4JInternalFactory
Throws:
FacebookException

createAccountList

public ResponseList<Account> createAccountList(HttpResponse res)
                                        throws FacebookException
Specified by:
createAccountList in interface z_F4JInternalFactory
Throws:
FacebookException

createAchievementList

public ResponseList<Achievement> createAchievementList(HttpResponse res)
                                                throws FacebookException
Specified by:
createAchievementList in interface z_F4JInternalFactory
Throws:
FacebookException

createActivityList

public ResponseList<Activity> createActivityList(HttpResponse res)
                                          throws FacebookException
Specified by:
createActivityList in interface z_F4JInternalFactory
Throws:
FacebookException

createAlbum

public Album createAlbum(HttpResponse res)
                  throws FacebookException
Specified by:
createAlbum in interface z_F4JInternalFactory
Throws:
FacebookException

createAlbumList

public ResponseList<Album> createAlbumList(HttpResponse res)
                                    throws FacebookException
Specified by:
createAlbumList in interface z_F4JInternalFactory
Throws:
FacebookException

createBookList

public ResponseList<Book> createBookList(HttpResponse res)
                                  throws FacebookException
Specified by:
createBookList in interface z_F4JInternalFactory
Throws:
FacebookException

createCheckin

public Checkin createCheckin(HttpResponse res)
                      throws FacebookException
Specified by:
createCheckin in interface z_F4JInternalFactory
Throws:
FacebookException

createCheckinList

public ResponseList<Checkin> createCheckinList(HttpResponse res)
                                        throws FacebookException
Specified by:
createCheckinList in interface z_F4JInternalFactory
Throws:
FacebookException

createComment

public Comment createComment(HttpResponse res)
                      throws FacebookException
Specified by:
createComment in interface z_F4JInternalFactory
Throws:
FacebookException

createCommentList

public ResponseList<Comment> createCommentList(HttpResponse res)
                                        throws FacebookException
Specified by:
createCommentList in interface z_F4JInternalFactory
Throws:
FacebookException

createDomain

public Domain createDomain(HttpResponse res)
                    throws FacebookException
Specified by:
createDomain in interface z_F4JInternalFactory
Throws:
FacebookException

createDomainArray

public List<Domain> createDomainArray(HttpResponse res)
                               throws FacebookException
Specified by:
createDomainArray in interface z_F4JInternalFactory
Throws:
FacebookException

createEvent

public Event createEvent(HttpResponse res)
                  throws FacebookException
Specified by:
createEvent in interface z_F4JInternalFactory
Throws:
FacebookException

createEventList

public ResponseList<Event> createEventList(HttpResponse res)
                                    throws FacebookException
Specified by:
createEventList in interface z_F4JInternalFactory
Throws:
FacebookException

createRSVPStatusList

public ResponseList<RSVPStatus> createRSVPStatusList(HttpResponse res)
                                              throws FacebookException
Specified by:
createRSVPStatusList in interface z_F4JInternalFactory
Throws:
FacebookException

createFamilyList

public ResponseList<Family> createFamilyList(HttpResponse res)
                                      throws FacebookException
Specified by:
createFamilyList in interface z_F4JInternalFactory
Throws:
FacebookException

createPost

public Post createPost(HttpResponse res)
                throws FacebookException
Specified by:
createPost in interface z_F4JInternalFactory
Throws:
FacebookException

createPostList

public ResponseList<Post> createPostList(HttpResponse res)
                                  throws FacebookException
Specified by:
createPostList in interface z_F4JInternalFactory
Throws:
FacebookException

createFriendlist

public Friendlist createFriendlist(HttpResponse res)
                            throws FacebookException
Specified by:
createFriendlist in interface z_F4JInternalFactory
Throws:
FacebookException

createFriendlistList

public ResponseList<Friendlist> createFriendlistList(HttpResponse res)
                                              throws FacebookException
Specified by:
createFriendlistList in interface z_F4JInternalFactory
Throws:
FacebookException

createFriendRequestList

public ResponseList<FriendRequest> createFriendRequestList(HttpResponse res)
                                                    throws FacebookException
Specified by:
createFriendRequestList in interface z_F4JInternalFactory
Throws:
FacebookException

createFriendList

public ResponseList<Friend> createFriendList(HttpResponse res)
                                      throws FacebookException
Specified by:
createFriendList in interface z_F4JInternalFactory
Throws:
FacebookException

createGameList

public ResponseList<Game> createGameList(HttpResponse res)
                                  throws FacebookException
Specified by:
createGameList in interface z_F4JInternalFactory
Throws:
FacebookException

createGroup

public Group createGroup(HttpResponse res)
                  throws FacebookException
Specified by:
createGroup in interface z_F4JInternalFactory
Throws:
FacebookException

createGroupList

public ResponseList<Group> createGroupList(HttpResponse res)
                                    throws FacebookException
Specified by:
createGroupList in interface z_F4JInternalFactory
Throws:
FacebookException

createGroupDocList

public ResponseList<GroupDoc> createGroupDocList(HttpResponse res)
                                          throws FacebookException
Specified by:
createGroupDocList in interface z_F4JInternalFactory
Throws:
FacebookException

createInboxList

public InboxResponseList<Message> createInboxList(HttpResponse res)
                                           throws FacebookException
Specified by:
createInboxList in interface z_F4JInternalFactory
Throws:
FacebookException

createInterestList

public ResponseList<Interest> createInterestList(HttpResponse res)
                                          throws FacebookException
Specified by:
createInterestList in interface z_F4JInternalFactory
Throws:
FacebookException

createLikeList

public ResponseList<Like> createLikeList(HttpResponse res)
                                  throws FacebookException
Specified by:
createLikeList in interface z_F4JInternalFactory
Throws:
FacebookException

createLink

public Link createLink(HttpResponse res)
                throws FacebookException
Specified by:
createLink in interface z_F4JInternalFactory
Throws:
FacebookException

createLinkList

public ResponseList<Link> createLinkList(HttpResponse res)
                                  throws FacebookException
Specified by:
createLinkList in interface z_F4JInternalFactory
Throws:
FacebookException

createLocationList

public ResponseList<Location> createLocationList(HttpResponse res)
                                          throws FacebookException
Specified by:
createLocationList in interface z_F4JInternalFactory
Throws:
FacebookException

createMovieList

public ResponseList<Movie> createMovieList(HttpResponse res)
                                    throws FacebookException
Specified by:
createMovieList in interface z_F4JInternalFactory
Throws:
FacebookException

createMusicList

public ResponseList<Music> createMusicList(HttpResponse res)
                                    throws FacebookException
Specified by:
createMusicList in interface z_F4JInternalFactory
Throws:
FacebookException

createNoteList

public ResponseList<Note> createNoteList(HttpResponse res)
                                  throws FacebookException
Specified by:
createNoteList in interface z_F4JInternalFactory
Throws:
FacebookException

createNotificationList

public ResponseList<Notification> createNotificationList(HttpResponse res)
                                                  throws FacebookException
Specified by:
createNotificationList in interface z_F4JInternalFactory
Throws:
FacebookException

createMessage

public Message createMessage(HttpResponse res)
                      throws FacebookException
Specified by:
createMessage in interface z_F4JInternalFactory
Throws:
FacebookException

createMessageList

public ResponseList<Message> createMessageList(HttpResponse res)
                                        throws FacebookException
Specified by:
createMessageList in interface z_F4JInternalFactory
Throws:
FacebookException

createNote

public Note createNote(HttpResponse res)
                throws FacebookException
Specified by:
createNote in interface z_F4JInternalFactory
Throws:
FacebookException

createPage

public Page createPage(HttpResponse res)
                throws FacebookException
Specified by:
createPage in interface z_F4JInternalFactory
Throws:
FacebookException

createPageList

public ResponseList<Page> createPageList(HttpResponse res)
                                  throws FacebookException
Specified by:
createPageList in interface z_F4JInternalFactory
Throws:
FacebookException

createPageSettingList

public ResponseList<PageSetting> createPageSettingList(HttpResponse res)
                                                throws FacebookException
Specified by:
createPageSettingList in interface z_F4JInternalFactory
Throws:
FacebookException

createPermissions

public List<Permission> createPermissions(HttpResponse res)
                                   throws FacebookException
Specified by:
createPermissions in interface z_F4JInternalFactory
Throws:
FacebookException

createPlaceList

public ResponseList<Place> createPlaceList(HttpResponse res)
                                    throws FacebookException
Specified by:
createPlaceList in interface z_F4JInternalFactory
Throws:
FacebookException

createPhoto

public Photo createPhoto(HttpResponse res)
                  throws FacebookException
Specified by:
createPhoto in interface z_F4JInternalFactory
Throws:
FacebookException

createPhotoList

public ResponseList<Photo> createPhotoList(HttpResponse res)
                                    throws FacebookException
Specified by:
createPhotoList in interface z_F4JInternalFactory
Throws:
FacebookException

createPokeList

public ResponseList<Poke> createPokeList(HttpResponse res)
                                  throws FacebookException
Specified by:
createPokeList in interface z_F4JInternalFactory
Throws:
FacebookException

createQuestion

public Question createQuestion(HttpResponse res)
                        throws FacebookException
Specified by:
createQuestion in interface z_F4JInternalFactory
Throws:
FacebookException

createQuestionList

public ResponseList<Question> createQuestionList(HttpResponse res)
                                          throws FacebookException
Specified by:
createQuestionList in interface z_F4JInternalFactory
Throws:
FacebookException

createQuestionOptionList

public ResponseList<Question.Option> createQuestionOptionList(HttpResponse res)
                                                       throws FacebookException
Specified by:
createQuestionOptionList in interface z_F4JInternalFactory
Throws:
FacebookException

createQuestionVotesList

public ResponseList<QuestionVotes> createQuestionVotesList(HttpResponse res)
                                                    throws FacebookException
Specified by:
createQuestionVotesList in interface z_F4JInternalFactory
Throws:
FacebookException

createScoreList

public ResponseList<Score> createScoreList(HttpResponse res)
                                    throws FacebookException
Specified by:
createScoreList in interface z_F4JInternalFactory
Throws:
FacebookException

createSubscribedtoList

public ResponseList<Subscribedto> createSubscribedtoList(HttpResponse res)
                                                  throws FacebookException
Specified by:
createSubscribedtoList in interface z_F4JInternalFactory
Throws:
FacebookException

createSubscriberList

public ResponseList<Subscriber> createSubscriberList(HttpResponse res)
                                              throws FacebookException
Specified by:
createSubscriberList in interface z_F4JInternalFactory
Throws:
FacebookException

createTagList

public ResponseList<Tag> createTagList(HttpResponse res)
                                throws FacebookException
Specified by:
createTagList in interface z_F4JInternalFactory
Throws:
FacebookException

createTelevisionList

public ResponseList<Television> createTelevisionList(HttpResponse res)
                                              throws FacebookException
Specified by:
createTelevisionList in interface z_F4JInternalFactory
Throws:
FacebookException

createVideo

public Video createVideo(HttpResponse res)
                  throws FacebookException
Specified by:
createVideo in interface z_F4JInternalFactory
Throws:
FacebookException

createVideoList

public ResponseList<Video> createVideoList(HttpResponse res)
                                    throws FacebookException
Specified by:
createVideoList in interface z_F4JInternalFactory
Throws:
FacebookException

createGroupMemberList

public ResponseList<GroupMember> createGroupMemberList(HttpResponse res)
                                                throws FacebookException
Specified by:
createGroupMemberList in interface z_F4JInternalFactory
Throws:
FacebookException

createInsightList

public ResponseList<Insight> createInsightList(HttpResponse res)
                                        throws FacebookException
Specified by:
createInsightList in interface z_F4JInternalFactory
Throws:
FacebookException

createTaggedList

public ResponseList<Tagged> createTaggedList(HttpResponse res)
                                      throws FacebookException
Specified by:
createTaggedList in interface z_F4JInternalFactory
Throws:
FacebookException

createMilestoneList

public ResponseList<Milestone> createMilestoneList(HttpResponse res)
                                            throws FacebookException
Specified by:
createMilestoneList in interface z_F4JInternalFactory
Throws:
FacebookException

createAdminList

public ResponseList<Admin> createAdminList(HttpResponse res)
                                    throws FacebookException
Specified by:
createAdminList in interface z_F4JInternalFactory
Throws:
FacebookException

createTabList

public ResponseList<Tab> createTabList(HttpResponse res)
                                throws FacebookException
Specified by:
createTabList in interface z_F4JInternalFactory
Throws:
FacebookException

createOfferList

public ResponseList<Offer> createOfferList(HttpResponse res)
                                    throws FacebookException
Specified by:
createOfferList in interface z_F4JInternalFactory
Throws:
FacebookException

createOffer

public Offer createOffer(HttpResponse res)
                  throws FacebookException
Specified by:
createOffer in interface z_F4JInternalFactory
Throws:
FacebookException

createApplication

public Application createApplication(HttpResponse res)
                              throws FacebookException
Specified by:
createApplication in interface z_F4JInternalFactory
Throws:
FacebookException

createTestUser

public TestUser createTestUser(HttpResponse res)
                        throws FacebookException
Specified by:
createTestUser in interface z_F4JInternalFactory
Throws:
FacebookException

createTestUser

public TestUser createTestUser(JSONObject json)
                        throws FacebookException
Specified by:
createTestUser in interface z_F4JInternalFactory
Throws:
FacebookException

createJSONObjectList

public ResponseList<JSONObject> createJSONObjectList(HttpResponse res)
                                              throws FacebookException
Specified by:
createJSONObjectList in interface z_F4JInternalFactory
Throws:
FacebookException

createJSONObjectList

public ResponseList<JSONObject> createJSONObjectList(JSONObject json)
                                              throws FacebookException
Specified by:
createJSONObjectList in interface z_F4JInternalFactory
Throws:
FacebookException

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

createResponseList

public <T> ResponseList<T> createResponseList(HttpResponse res,
                                              Class<T> jsonObjectType)
                                   throws FacebookException
Specified by:
createResponseList in interface z_F4JInternalFactory
Throws:
FacebookException


Copyright © 2014. All Rights Reserved.