Uses of Class
org.compass.core.json.impl.DefaultJSONException

Packages that use DefaultJSONException
org.compass.core.json.impl   
 

Uses of DefaultJSONException in org.compass.core.json.impl
 

Methods in org.compass.core.json.impl that return DefaultJSONException
 DefaultJSONException DefaultJSONTokener.syntaxError(String message)
          Make a JSONException to signal a syntax error.
 

Methods in org.compass.core.json.impl that throw DefaultJSONException
 DefaultJSONObject DefaultJSONObject.accumulate(String key, Object value)
          Accumulate values under a key.
 DefaultJSONObject DefaultJSONObject.append(String key, Object value)
          Append values to the array under a key.
 DefaultJSONWriter DefaultJSONWriter.array()
          Begin appending a new array.
 DefaultJSONWriter DefaultJSONWriter.endArray()
          End an array.
 DefaultJSONWriter DefaultJSONWriter.endObject()
          End an object.
 Object DefaultJSONArray.get(int index)
          Get the object value associated with an index.
 Object DefaultJSONObject.get(String key)
          Get the value object associated with a key.
 boolean DefaultJSONArray.getBoolean(int index)
          Get the boolean value associated with an index.
 boolean DefaultJSONObject.getBoolean(String key)
          Get the boolean value associated with a key.
 double DefaultJSONArray.getDouble(int index)
          Get the double value associated with an index.
 double DefaultJSONObject.getDouble(String key)
          Get the double value associated with a key.
 int DefaultJSONArray.getInt(int index)
          Get the int value associated with an index.
 int DefaultJSONObject.getInt(String key)
          Get the int value associated with a key.
 DefaultJSONArray DefaultJSONArray.getJSONArray(int index)
          Get the JSONArray associated with an index.
 DefaultJSONArray DefaultJSONObject.getJSONArray(String key)
          Get the JSONArray value associated with a key.
 DefaultJSONObject DefaultJSONArray.getJSONObject(int index)
          Get the JSONObject associated with an index.
 DefaultJSONObject DefaultJSONObject.getJSONObject(String key)
          Get the JSONObject value associated with a key.
 long DefaultJSONArray.getLong(int index)
          Get the long value associated with an index.
 long DefaultJSONObject.getLong(String key)
          Get the long value associated with a key.
 String DefaultJSONArray.getString(int index)
          Get the string associated with an index.
 String DefaultJSONObject.getString(String key)
          Get the string associated with a key.
 String DefaultJSONArray.join(String separator)
          Make a string from the contents of this JSONArray.
 DefaultJSONWriter DefaultJSONWriter.key(String s)
          Append a key.
 char DefaultJSONTokener.next(char c)
          Consume the next character, and check that it matches a specified character.
 String DefaultJSONTokener.next(int n)
          Get the next n characters.
 char DefaultJSONTokener.nextClean()
          Get the next char in the string, skipping whitespace and comments (slashslash, slashstar, and hash).
 String DefaultJSONTokener.nextString(char quote)
          Return the characters up to the next close quote character.
 Object DefaultJSONTokener.nextValue()
          Get the next value.
static String DefaultJSONObject.numberToString(Number n)
          Produce a string from a Number.
 DefaultJSONWriter DefaultJSONWriter.object()
          Begin appending a new object.
 DefaultJSONArray DefaultJSONArray.put(double value)
          Append a double value.
 DefaultJSONArray DefaultJSONArray.put(int index, boolean value)
          Put or replace a boolean value in the JSONArray.
 DefaultJSONArray DefaultJSONArray.put(int index, Collection value)
          Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
 DefaultJSONArray DefaultJSONArray.put(int index, double value)
          Put or replace a double value.
 DefaultJSONArray DefaultJSONArray.put(int index, int value)
          Put or replace an int value.
 DefaultJSONArray DefaultJSONArray.put(int index, long value)
          Put or replace a long value.
 DefaultJSONArray DefaultJSONArray.put(int index, Map value)
          Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.
 DefaultJSONArray DefaultJSONArray.put(int index, Object value)
          Put or replace an object value in the JSONArray.
 DefaultJSONObject DefaultJSONObject.put(String key, boolean value)
          Put a key/boolean pair in the JSONObject.
 DefaultJSONObject DefaultJSONObject.put(String key, Collection value)
          Put a key/value pair in the JSONObject, where the value will be a JSONArray which is produced from a Collection.
 DefaultJSONObject DefaultJSONObject.put(String key, double value)
          Put a key/double pair in the JSONObject.
 DefaultJSONObject DefaultJSONObject.put(String key, int value)
          Put a key/int pair in the JSONObject.
 DefaultJSONObject DefaultJSONObject.put(String key, long value)
          Put a key/long pair in the JSONObject.
 DefaultJSONObject DefaultJSONObject.put(String key, Map<String,Object> value)
          Put a key/value pair in the JSONObject, where the value will be a JSONObject which is produced from a Map.
 DefaultJSONObject DefaultJSONObject.put(String key, Object value)
          Put a key/value pair in the JSONObject.
 DefaultJSONObject DefaultJSONObject.putOpt(String key, Object value)
          Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.
(package private) static void DefaultJSONObject.testValidity(Object o)
          Throw an exception if the object is an NaN or infinite number.
 DefaultJSONArray DefaultJSONObject.toJSONArray(DefaultJSONArray names)
          Produce a JSONArray containing the values of the members of this JSONObject.
 DefaultJSONObject DefaultJSONArray.toJSONObject(DefaultJSONArray names)
          Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
 String DefaultJSONObject.toString(int indentFactor)
          Make a prettyprinted JSON text of this JSONObject.
 String DefaultJSONArray.toString(int indentFactor)
          Make a prettyprinted JSON text of this JSONArray.
(package private)  String DefaultJSONObject.toString(int indentFactor, int indent)
          Make a prettyprinted JSON text of this JSONObject.
(package private)  String DefaultJSONArray.toString(int indentFactor, int indent)
          Make a prettyprinted JSON text of this JSONArray.
 DefaultJSONWriter DefaultJSONWriter.value(boolean b)
          Append either the value true or the value false.
 DefaultJSONWriter DefaultJSONWriter.value(double d)
          Append a double value.
 DefaultJSONWriter DefaultJSONWriter.value(long l)
          Append a long value.
 DefaultJSONWriter DefaultJSONWriter.value(Object o)
          Append an object value.
(package private) static String DefaultJSONObject.valueToString(Object value)
          Make a JSON text of an Object value.
(package private) static String DefaultJSONObject.valueToString(Object value, int indentFactor, int indent)
          Make a prettyprinted JSON text of an object value.
 Writer DefaultJSONObject.write(Writer writer)
          Write the contents of the JSONObject as JSON text to a writer.
 Writer DefaultJSONArray.write(Writer writer)
          Write the contents of the JSONArray as JSON text to a writer.
 

Constructors in org.compass.core.json.impl that throw DefaultJSONException
DefaultAliasedJSONObject(String alias, DefaultJSONTokener tokener)
          Constructs a new aliased json object using the provided alias and a json tokener.
DefaultJSONArray(DefaultJSONTokener x)
          Construct a JSONArray from a JSONTokener.
DefaultJSONArray(Object array)
          Construct a JSONArray from an array
DefaultJSONArray(String source)
          Construct a JSONArray from a source JSON text.
DefaultJSONObject(DefaultJSONObject jo, String[] names)
          Construct a JSONObject from a subset of another JSONObject.
DefaultJSONObject(DefaultJSONTokener x)
          Construct a JSONObject from a JSONTokener.
DefaultJSONObject(String source)
          Construct a JSONObject from a source JSON text string.
 



Copyright (c) 2004-2008 The Compass Project.