org.apache.wink.json4j.compat.impl
Class ApacheJSONFactory

java.lang.Object
  extended by org.apache.wink.json4j.compat.JSONFactory
      extended by org.apache.wink.json4j.compat.impl.ApacheJSONFactory

public class ApacheJSONFactory
extends JSONFactory


Constructor Summary
ApacheJSONFactory()
           
 
Method Summary
 JSONArray createJSONArray()
           
 JSONArray createJSONArray(java.util.Collection collection)
           
 JSONArray createJSONArray(java.util.Collection collect, boolean useSuperClass)
           
 JSONArray createJSONArray(java.lang.Object array)
           
 JSONArray createJSONArray(java.lang.Object array, boolean useSuperClass)
           
 JSONArray createJSONArray(java.io.Reader reader)
           
 JSONArray createJSONArray(java.lang.String src)
           
 JSONObject createJSONObject()
           
 JSONObject createJSONObject(java.util.Map m)
           
 JSONObject createJSONObject(java.util.Map m, boolean useSuperClass)
           
 JSONObject createJSONObject(java.lang.Object obj)
           
 JSONObject createJSONObject(java.lang.Object obj, boolean useSuperClass)
           
 JSONObject createJSONObject(java.lang.Object obj, java.lang.String[] names)
           
 JSONObject createJSONObject(java.io.Reader reader)
           
 JSONObject createJSONObject(java.lang.String src)
           
 JSONStringer createJSONStringer()
           
 JSONWriter createJSONWriter(java.io.Writer writer)
           
 
Methods inherited from class org.apache.wink.json4j.compat.JSONFactory
newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApacheJSONFactory

public ApacheJSONFactory()
Method Detail

createJSONArray

public JSONArray createJSONArray()
Specified by:
createJSONArray in class JSONFactory

createJSONArray

public JSONArray createJSONArray(java.util.Collection collection)
                          throws JSONException
Specified by:
createJSONArray in class JSONFactory
Throws:
JSONException

createJSONArray

public JSONArray createJSONArray(java.util.Collection collect,
                                 boolean useSuperClass)
                          throws JSONException
Specified by:
createJSONArray in class JSONFactory
Throws:
JSONException

createJSONArray

public JSONArray createJSONArray(java.io.Reader reader)
                          throws JSONException
Specified by:
createJSONArray in class JSONFactory
Throws:
JSONException

createJSONArray

public JSONArray createJSONArray(java.lang.Object array)
                          throws JSONException
Specified by:
createJSONArray in class JSONFactory
Throws:
JSONException

createJSONArray

public JSONArray createJSONArray(java.lang.Object array,
                                 boolean useSuperClass)
                          throws JSONException
Specified by:
createJSONArray in class JSONFactory
Throws:
JSONException

createJSONArray

public JSONArray createJSONArray(java.lang.String src)
                          throws JSONException
Specified by:
createJSONArray in class JSONFactory
Throws:
JSONException

createJSONObject

public JSONObject createJSONObject()
Specified by:
createJSONObject in class JSONFactory

createJSONObject

public JSONObject createJSONObject(java.io.Reader reader)
                            throws JSONException
Specified by:
createJSONObject in class JSONFactory
Throws:
JSONException

createJSONObject

public JSONObject createJSONObject(java.util.Map m)
                            throws JSONException
Specified by:
createJSONObject in class JSONFactory
Throws:
JSONException

createJSONObject

public JSONObject createJSONObject(java.util.Map m,
                                   boolean useSuperClass)
                            throws JSONException
Specified by:
createJSONObject in class JSONFactory
Throws:
JSONException

createJSONObject

public JSONObject createJSONObject(java.lang.Object obj)
                            throws JSONException
Specified by:
createJSONObject in class JSONFactory
Throws:
JSONException

createJSONObject

public JSONObject createJSONObject(java.lang.Object obj,
                                   boolean useSuperClass)
                            throws JSONException
Specified by:
createJSONObject in class JSONFactory
Throws:
JSONException

createJSONObject

public JSONObject createJSONObject(java.lang.Object obj,
                                   java.lang.String[] names)
                            throws JSONException
Specified by:
createJSONObject in class JSONFactory
Throws:
JSONException

createJSONObject

public JSONObject createJSONObject(java.lang.String src)
                            throws JSONException
Specified by:
createJSONObject in class JSONFactory
Throws:
JSONException

createJSONStringer

public JSONStringer createJSONStringer()
Specified by:
createJSONStringer in class JSONFactory

createJSONWriter

public JSONWriter createJSONWriter(java.io.Writer writer)
Specified by:
createJSONWriter in class JSONFactory


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.