org.apache.wicket.ajax.json
Class JsonFunction
java.lang.Object
org.apache.wicket.ajax.json.JsonFunction
- All Implemented Interfaces:
- Serializable, CharSequence, JSONString, IClusterable
public class JsonFunction
- extends Object
- implements JSONString, CharSequence, IClusterable
Represents a Json function. When written out these values are not escaped so its possible to write out raw
JavaScript.
- See Also:
- Serialized Form
JsonFunction
public JsonFunction(CharSequence value)
toString
public String toString()
- Specified by:
toString
in interface CharSequence
- Overrides:
toString
in class Object
toJSONString
public String toJSONString()
- Description copied from interface:
JSONString
- The
toJSONString
method allows a class to produce its own JSON
serialization.
- Specified by:
toJSONString
in interface JSONString
- Returns:
- A strictly syntactically correct JSON text.
length
public int length()
- Specified by:
length
in interface CharSequence
charAt
public char charAt(int index)
- Specified by:
charAt
in interface CharSequence
subSequence
public CharSequence subSequence(int start,
int end)
- Specified by:
subSequence
in interface CharSequence
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.