er.ajax
Class AjaxValue
java.lang.Object
er.ajax.AjaxValue
public class AjaxValue
- extends Object
AjaxValue provides a method for serializing Objects into a Javascript-compatible format
with hinting via AjaxOption.Type constants.
- Author:
- mschrag
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AjaxValue
public AjaxValue(Object value)
AjaxValue
public AjaxValue(AjaxOption.Type type,
Object value)
javaScriptEscaped
public static String javaScriptEscaped(Object obj)
- Parameters:
obj - Object to convert to String and escape
- Returns:
- obj converted to a string and escaped for use as a quoted JS string
javascriptValue
public String javascriptValue()
Copyright © 2002 – 2007 Project Wonder.