er.ajax
Class AjaxValue
java.lang.Object
er.ajax.AjaxValue
public class AjaxValue
- extends java.lang.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(java.lang.Object value)
AjaxValue
public AjaxValue(AjaxOption.Type type,
java.lang.Object value)
javaScriptEscaped
public static java.lang.String javaScriptEscaped(java.lang.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 java.lang.String javascriptValue()
Copyright © 2002 – 2007 Project Wonder.