![JAR search and dependency download from the Maven repository](/logo.png)
facebook4j.json.DataObjectFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of facebook4j-core Show documentation
Show all versions of facebook4j-core Show documentation
A Java library for the Facebook Graph API
/*
* Copyright 2012 Ryuji Yamashita
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package facebook4j.json;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.HashMap;
import java.util.Map;
import facebook4j.*;
import facebook4j.internal.org.json.JSONException;
import facebook4j.internal.org.json.JSONObject;
/**
* @author Ryuji Yamashita - roundrop at gmail.com
*/
public final class DataObjectFactory {
private DataObjectFactory() {
throw new AssertionError("not intended to be instantiated.");
}
private static final Constructor accountConstructor;
private static final Constructor achievementConstructor;
private static final Constructor activityConstructor;
private static final Constructor albumConstructor;
private static final Constructor bookConstructor;
private static final Constructor checkinConstructor;
private static final Constructor commentConstructor;
private static final Constructor domainConstructor;
private static final Constructor eventConstructor;
private static final Constructor familyConstructor;
private static final Constructor friendConstructor;
private static final Constructor friendlistConstructor;
private static final Constructor friendRequestConstructor;
private static final Constructor gameConstructor;
private static final Constructor groupDocConstructor;
private static final Constructor groupConstructor;
private static final Constructor groupMemberConstructor;
private static final Constructor inboxConstructor;
private static final Constructor insightConstructor;
private static final Constructor interestConstructor;
private static final Constructor likeConstructor;
private static final Constructor linkConstructor;
private static final Constructor locationConstructor;
private static final Constructor messageConstructor;
private static final Constructor movieConstructor;
private static final Constructor musicConstructor;
private static final Constructor noteConstructor;
private static final Constructor notificationConstructor;
private static final Constructor photoConstructor;
private static final Constructor placeConstructor;
private static final Constructor pokeConstructor;
private static final Constructor postConstructor;
private static final Constructor questionConstructor;
private static final Constructor questionVotesConstructor;
private static final Constructor rsvpStatusConstructor;
private static final Constructor scoreConstructor;
private static final Constructor subscribedtoConstructor;
private static final Constructor subscriberConstructor;
private static final Constructor tagConstructor;
private static final Constructor televisionConstructor;
private static final Constructor userConstructor;
private static final Constructor
© 2015 - 2025 Weber Informatics LLC | Privacy Policy