|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object facebook4j.json.DataObjectFactory
public final class DataObjectFactory
Method Summary | |
---|---|
static Account |
createAccount(String rawJSON)
Constructs a Account object from rawJSON string. |
static Achievement |
createAchievement(String rawJSON)
Constructs a Achievement object from rawJSON string. |
static Activity |
createActivity(String rawJSON)
Constructs a Activity object from rawJSON string. |
static Admin |
createAdmin(String rawJSON)
Constructs a Admin object from rawJSON string. |
static Album |
createAlbum(String rawJSON)
Constructs a Album object from rawJSON string. |
static Book |
createBook(String rawJSON)
Constructs a Book object from rawJSON string. |
static Category |
createCategory(String rawJSON)
Constructs a Category object from rawJSON string. |
static Checkin |
createCheckin(String rawJSON)
Constructs a Checkin object from rawJSON string. |
static Comment |
createComment(String rawJSON)
Constructs a Comment object from rawJSON string. |
static Domain |
createDomain(String rawJSON)
Constructs a Domain object from rawJSON string. |
static Event |
createEvent(String rawJSON)
Constructs a Event object from rawJSON string. |
static Family |
createFamily(String rawJSON)
Constructs a Family object from rawJSON string. |
static Friend |
createFriend(String rawJSON)
Constructs a Friend object from rawJSON string. |
static Friendlist |
createFriendlist(String rawJSON)
Constructs a Friendlist object from rawJSON string. |
static FriendRequest |
createFriendRequest(String rawJSON)
Constructs a FriendRequest object from rawJSON string. |
static Game |
createGame(String rawJSON)
Constructs a Game object from rawJSON string. |
static Group |
createGroup(String rawJSON)
Constructs a Group object from rawJSON string. |
static GroupDoc |
createGroupDoc(String rawJSON)
Constructs a GroupDoc object from rawJSON string. |
static GroupMember |
createGroupMember(String rawJSON)
Constructs a GroupMember object from rawJSON string. |
static Insight |
createInsight(String rawJSON)
Constructs a Insight object from rawJSON string. |
static Interest |
createInterest(String rawJSON)
Constructs a Interest object from rawJSON string. |
static Like |
createLike(String rawJSON)
Constructs a Like object from rawJSON string. |
static Link |
createLink(String rawJSON)
Constructs a Link object from rawJSON string. |
static Location |
createLocation(String rawJSON)
Constructs a Location object from rawJSON string. |
static Message |
createMessage(String rawJSON)
Constructs a Message object from rawJSON string. |
static Milestone |
createMilestone(String rawJSON)
Constructs a Milestone object from rawJSON string. |
static Movie |
createMovie(String rawJSON)
Constructs a Movie object from rawJSON string. |
static Music |
createMusic(String rawJSON)
Constructs a Music object from rawJSON string. |
static Note |
createNote(String rawJSON)
Constructs a Note object from rawJSON string. |
static Notification |
createNotification(String rawJSON)
Constructs a Notification object from rawJSON string. |
static Offer |
createOffer(String rawJSON)
Constructs a Offer object from rawJSON string. |
static Page |
createPage(String rawJSON)
Constructs a Page object from rawJSON string. |
static PageSetting |
createPageSetting(String rawJSON)
Constructs a PageSetting object from rawJSON string. |
static Photo |
createPhoto(String rawJSON)
Constructs a Photo object from rawJSON string. |
static Place |
createPlace(String rawJSON)
Constructs a Place object from rawJSON string. |
static Poke |
createPoke(String rawJSON)
Constructs a Poke object from rawJSON string. |
static Post |
createPost(String rawJSON)
Constructs a Post object from rawJSON string. |
static Question |
createQuestion(String rawJSON)
Constructs a Question object from rawJSON string. |
static QuestionVotes |
createQuestionVotes(String rawJSON)
Constructs a QuestionVotes object from rawJSON string. |
static RSVPStatus |
createRSVPStatus(String rawJSON)
Constructs a RSVPStatus object from rawJSON string. |
static Score |
createScore(String rawJSON)
Constructs a Score object from rawJSON string. |
static Subscribedto |
createSubscribedto(String rawJSON)
Constructs a Subscribedto object from rawJSON string. |
static Subscriber |
createSubscriber(String rawJSON)
Constructs a Subscriber object from rawJSON string. |
static Tab |
createTab(String rawJSON)
Constructs a Tab object from rawJSON string. |
static Tag |
createTag(String rawJSON)
Constructs a Tag object from rawJSON string. |
static Tagged |
createTagged(String rawJSON)
Constructs a Tagged object from rawJSON string. |
static Television |
createTelevision(String rawJSON)
Constructs a Television object from rawJSON string. |
static User |
createUser(String rawJSON)
Constructs a User object from rawJSON string. |
static Video |
createVideo(String rawJSON)
Constructs a Video object from rawJSON string. |
static String |
getRawJSON(Object obj)
Returns a raw JSON form of the provided object. Note that raw JSON forms can be retrieved only from the same thread invoked the last method call and will become inaccessible once another method call |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getRawJSON(Object obj)
obj
-
public static Account createAccount(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Achievement createAchievement(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Activity createActivity(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Admin createAdmin(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Album createAlbum(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Book createBook(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Category createCategory(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Checkin createCheckin(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Comment createComment(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Domain createDomain(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Event createEvent(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Family createFamily(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Friend createFriend(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Friendlist createFriendlist(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static FriendRequest createFriendRequest(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Game createGame(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static GroupDoc createGroupDoc(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Group createGroup(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static GroupMember createGroupMember(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Insight createInsight(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Interest createInterest(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Like createLike(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Link createLink(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Location createLocation(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Message createMessage(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Milestone createMilestone(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Movie createMovie(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Music createMusic(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Note createNote(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Notification createNotification(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Offer createOffer(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Page createPage(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static PageSetting createPageSetting(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Photo createPhoto(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Place createPlace(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Poke createPoke(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Post createPost(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Question createQuestion(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static QuestionVotes createQuestionVotes(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static RSVPStatus createRSVPStatus(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Score createScore(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Subscribedto createSubscribedto(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Subscriber createSubscriber(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Tab createTab(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Tagged createTagged(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Tag createTag(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Television createTelevision(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static User createUser(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.public static Video createVideo(String rawJSON) throws FacebookException
rawJSON
- raw JSON form as String
FacebookException
- when provided string is not a valid JSON string.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |