Uses of Class
com.vaadin.external.json.JSONException

Packages that use JSONException
com.vaadin.external.json   
com.vaadin.terminal   
com.vaadin.terminal.gwt.server   
com.vaadin.ui   
 

Uses of JSONException in com.vaadin.external.json
 

Methods in com.vaadin.external.json that return JSONException
 JSONException JSONTokener.syntaxError(String message)
          Make a JSONException to signal a syntax error.
 

Methods in com.vaadin.external.json that throw JSONException
 JSONObject JSONObject.accumulate(String key, Object value)
          Accumulate values under a key.
 JSONObject JSONObject.append(String key, Object value)
          Append values to the array under a key.
 JSONWriter JSONWriter.array()
          Begin appending a new array.
 void JSONTokener.back()
          Back up one character.
 JSONWriter JSONWriter.endArray()
          End an array.
 JSONWriter JSONWriter.endObject()
          End an object.
 Object JSONArray.get(int index)
          Get the object value associated with an index.
 Object JSONObject.get(String key)
          Get the value object associated with a key.
 boolean JSONArray.getBoolean(int index)
          Get the boolean value associated with an index.
 boolean JSONObject.getBoolean(String key)
          Get the boolean value associated with a key.
 double JSONArray.getDouble(int index)
          Get the double value associated with an index.
 double JSONObject.getDouble(String key)
          Get the double value associated with a key.
 int JSONArray.getInt(int index)
          Get the int value associated with an index.
 int JSONObject.getInt(String key)
          Get the int value associated with a key.
 JSONArray JSONArray.getJSONArray(int index)
          Get the JSONArray associated with an index.
 JSONArray JSONObject.getJSONArray(String key)
          Get the JSONArray value associated with a key.
 JSONObject JSONArray.getJSONObject(int index)
          Get the JSONObject associated with an index.
 JSONObject JSONObject.getJSONObject(String key)
          Get the JSONObject value associated with a key.
 long JSONArray.getLong(int index)
          Get the long value associated with an index.
 long JSONObject.getLong(String key)
          Get the long value associated with a key.
 String JSONArray.getString(int index)
          Get the string associated with an index.
 String JSONObject.getString(String key)
          Get the string associated with a key.
 JSONObject JSONObject.increment(String key)
          Increment a property of a JSONObject.
 String JSONArray.join(String separator)
          Make a string from the contents of this JSONArray.
 JSONWriter JSONWriter.key(String string)
          Append a key.
 boolean JSONTokener.more()
          Determine if the source string still contains characters that next() can consume.
 char JSONTokener.next()
          Get the next character in the source string.
 char JSONTokener.next(char c)
          Consume the next character, and check that it matches a specified character.
 String JSONTokener.next(int n)
          Get the next n characters.
 char JSONTokener.nextClean()
          Get the next char in the string, skipping whitespace.
 String JSONTokener.nextString(char quote)
          Return the characters up to the next close quote character.
 String JSONTokener.nextTo(char delimiter)
          Get the text up but not including the specified character or the end of line, whichever comes first.
 String JSONTokener.nextTo(String delimiters)
          Get the text up but not including one of the specified delimiter characters or the end of line, whichever comes first.
 Object JSONTokener.nextValue()
          Get the next value.
static String JSONObject.numberToString(Number number)
          Produce a string from a Number.
 JSONWriter JSONWriter.object()
          Begin appending a new object.
 JSONArray JSONArray.put(double value)
          Append a double value.
 JSONArray JSONArray.put(int index, boolean value)
          Put or replace a boolean value in the JSONArray.
 JSONArray JSONArray.put(int index, Collection value)
          Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
 JSONArray JSONArray.put(int index, double value)
          Put or replace a double value.
 JSONArray JSONArray.put(int index, int value)
          Put or replace an int value.
 JSONArray JSONArray.put(int index, long value)
          Put or replace a long value.
 JSONArray JSONArray.put(int index, Map value)
          Put a value in the JSONArray, where the value will be a JSONObject that is produced from a Map.
 JSONArray JSONArray.put(int index, Object value)
          Put or replace an object value in the JSONArray.
 JSONObject JSONObject.put(String key, boolean value)
          Put a key/boolean pair in the JSONObject.
 JSONObject JSONObject.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.
 JSONObject JSONObject.put(String key, double value)
          Put a key/double pair in the JSONObject.
 JSONObject JSONObject.put(String key, int value)
          Put a key/int pair in the JSONObject.
 JSONObject JSONObject.put(String key, long value)
          Put a key/long pair in the JSONObject.
 JSONObject JSONObject.put(String key, Map value)
          Put a key/value pair in the JSONObject, where the value will be a JSONObject which is produced from a Map.
 JSONObject JSONObject.put(String key, Object value)
          Put a key/value pair in the JSONObject.
 JSONObject JSONObject.putOnce(String key, Object value)
          Put a key/value pair in the JSONObject, but only if the key and the value are both non-null, and only if there is not already a member with that name.
 JSONObject JSONObject.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.
 char JSONTokener.skipTo(char to)
          Skip characters until the next character is the requested character.
static void JSONObject.testValidity(Object o)
          Throw an exception if the object is a NaN or infinite number.
 JSONArray JSONObject.toJSONArray(JSONArray names)
          Produce a JSONArray containing the values of the members of this JSONObject.
 JSONObject JSONArray.toJSONObject(JSONArray names)
          Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
 String JSONObject.toString(int indentFactor)
          Make a prettyprinted JSON text of this JSONObject.
 String JSONArray.toString(int indentFactor)
          Make a prettyprinted JSON text of this JSONArray.
 JSONWriter JSONWriter.value(boolean b)
          Append either the value true or the value false .
 JSONWriter JSONWriter.value(double d)
          Append a double value.
 JSONWriter JSONWriter.value(long l)
          Append a long value.
 JSONWriter JSONWriter.value(Object object)
          Append an object value.
static String JSONObject.valueToString(Object value)
          Make a JSON text of an Object value.
 Writer JSONObject.write(Writer writer)
          Write the contents of the JSONObject as JSON text to a writer.
 Writer JSONArray.write(Writer writer)
          Write the contents of the JSONArray as JSON text to a writer.
 

Constructors in com.vaadin.external.json that throw JSONException
JSONArray(JSONTokener x)
          Construct a JSONArray from a JSONTokener.
JSONArray(Object array)
          Construct a JSONArray from an array
JSONArray(String source)
          Construct a JSONArray from a source JSON text.
JSONObject(JSONTokener x)
          Construct a JSONObject from a JSONTokener.
JSONObject(String source)
          Construct a JSONObject from a source JSON text string.
JSONObject(String baseName, Locale locale)
          Construct a JSONObject from a ResourceBundle.
JSONTokener(InputStream inputStream)
          Construct a JSONTokener from an InputStream.
 

Uses of JSONException in com.vaadin.terminal
 

Constructors in com.vaadin.terminal that throw JSONException
CombinedRequest(WrappedRequest secondRequest)
          Creates a new combined request based on the second request and some details from the first request.
 

Uses of JSONException in com.vaadin.terminal.gwt.server
 

Methods in com.vaadin.terminal.gwt.server that throw JSONException
static Object JsonCodec.decodeCustomType(Type targetType, Object value, ConnectorTracker connectorTracker)
           
static Object JsonCodec.decodeInternalOrCustomType(Type targetType, Object value, ConnectorTracker connectorTracker)
           
static Object JsonCodec.decodeInternalType(Type targetType, boolean restrictToInternalTypes, Object encodedJsonValue, ConnectorTracker connectorTracker)
          Decodes a value that is of an internal type.
static Object JsonCodec.encode(Object value, Object referenceValue, Type valueType, ConnectorTracker connectorTracker)
           
protected  JSONObject BootstrapHandler.getApplicationParameters(BootstrapHandler.BootstrapContext context)
           
protected  JSONObject BootstrapHandler.getDefaultParameters(BootstrapHandler.BootstrapContext context)
           
protected  String AbstractCommunicationManager.getInitialUIDL(WrappedRequest request, Root root)
          Generates the initial UIDL message that can e.g.
protected abstract  String BootstrapHandler.getInitialUIDL(WrappedRequest request, Root root)
          Gets the initial UIDL message to send to the client.
 void AbstractCommunicationManager.handleUidlRequest(WrappedRequest request, WrappedResponse response, AbstractCommunicationManager.Callback callback, Root root)
          Internally process a UIDL request from the client.
 void PortletCommunicationManager.handleUidlRequest(WrappedRequest request, WrappedResponse response, AbstractCommunicationManager.Callback callback, Root root)
           
protected  void BootstrapHandler.writeBootstrapPage(WrappedRequest request, WrappedResponse response, Application application, Integer rootId)
           
protected  void BootstrapHandler.writeBootstrapPageHtmlVaadinScripts(BootstrapHandler.BootstrapContext context)
          Method to write the script part of the page which loads needed Vaadin scripts and themes.
protected  void BootstrapHandler.writeMainScriptTagContents(BootstrapHandler.BootstrapContext context)
           
 void AbstractCommunicationManager.writeUidlResponse(WrappedRequest request, boolean repaintAll, PrintWriter outWriter, Root root, boolean analyzeLayouts)
           
 

Uses of JSONException in com.vaadin.ui
 

Methods in com.vaadin.ui that throw JSONException
 void JavaScriptCallback.call(JSONArray arguments)
          Invoked whenever the corresponding JavaScript function is called in the browser.
 



Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.