org.apache.wink.json4j.compat
Class JSONFactory
java.lang.Object
org.apache.wink.json4j.compat.JSONFactory
- Direct Known Subclasses:
- ApacheJSONFactory
public abstract class JSONFactory
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSONFactory
public JSONFactory()
newInstance
public static final JSONFactory newInstance()
createJSONArray
public abstract JSONArray createJSONArray()
createJSONArray
public abstract JSONArray createJSONArray(java.util.Collection collection)
throws JSONException
- Throws:
JSONException
createJSONArray
public abstract JSONArray createJSONArray(java.util.Collection collect,
boolean useSuperClass)
throws JSONException
- Throws:
JSONException
createJSONArray
public abstract JSONArray createJSONArray(java.io.Reader reader)
throws JSONException
- Throws:
JSONException
createJSONArray
public abstract JSONArray createJSONArray(java.lang.Object array)
throws JSONException
- Throws:
JSONException
createJSONArray
public abstract JSONArray createJSONArray(java.lang.Object array,
boolean useSuperClass)
throws JSONException
- Throws:
JSONException
createJSONArray
public abstract JSONArray createJSONArray(java.lang.String src)
throws JSONException
- Throws:
JSONException
createJSONObject
public abstract JSONObject createJSONObject()
createJSONObject
public abstract JSONObject createJSONObject(java.io.Reader reader)
throws JSONException
- Throws:
JSONException
createJSONObject
public abstract JSONObject createJSONObject(java.util.Map m)
throws JSONException
- Throws:
JSONException
createJSONObject
public abstract JSONObject createJSONObject(java.util.Map m,
boolean useSuperClass)
throws JSONException
- Throws:
JSONException
createJSONObject
public abstract JSONObject createJSONObject(java.lang.Object obj)
throws JSONException
- Throws:
JSONException
createJSONObject
public abstract JSONObject createJSONObject(java.lang.Object obj,
boolean useSuperClass)
throws JSONException
- Throws:
JSONException
createJSONObject
public abstract JSONObject createJSONObject(java.lang.Object obj,
java.lang.String[] names)
throws JSONException
- Throws:
JSONException
createJSONObject
public abstract JSONObject createJSONObject(java.lang.String src)
throws JSONException
- Throws:
JSONException
createJSONStringer
public abstract JSONStringer createJSONStringer()
createJSONWriter
public abstract JSONWriter createJSONWriter(java.io.Writer writer)
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.