Package org.wicketstuff.yui.helper
Class JSObject<T>
- java.lang.Object
-
- org.wicketstuff.yui.helper.TokenSeparatedValues
-
- org.wicketstuff.yui.helper.NameValuePair<T>
-
- org.wicketstuff.yui.helper.JSObject<T>
-
- All Implemented Interfaces:
Serializable,JavascriptObject
- Direct Known Subclasses:
Attributes
public class JSObject<T> extends NameValuePair<T> implements JavascriptObject
a Javascript Object "{name: value, name1 : value1}" TODO : Use JSON ??- Author:
- josh
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JSObject()construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavascriptObjectadd(String string)JSObjectadd(String name, JavascriptObject object)StringgetNameValueSeparator()StringgetPrefix()the prefixStringgetSuffix()the suffixStringgetValueSeparator()the separator value-
Methods inherited from class org.wicketstuff.yui.helper.NameValuePair
add, add, add, getValues, isValid, wrapValue
-
Methods inherited from class org.wicketstuff.yui.helper.TokenSeparatedValues
toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.wicketstuff.yui.helper.JavascriptObject
toString
-
-
-
-
Method Detail
-
getPrefix
public String getPrefix()
Description copied from class:TokenSeparatedValuesthe prefix- Specified by:
getPrefixin classTokenSeparatedValues- Returns:
-
getSuffix
public String getSuffix()
Description copied from class:TokenSeparatedValuesthe suffix- Specified by:
getSuffixin classTokenSeparatedValues- Returns:
-
getValueSeparator
public String getValueSeparator()
Description copied from class:TokenSeparatedValuesthe separator value- Specified by:
getValueSeparatorin classTokenSeparatedValues- Returns:
-
getNameValueSeparator
public String getNameValueSeparator()
- Specified by:
getNameValueSeparatorin classNameValuePair<T>- Returns:
-
add
public JSObject add(String name, JavascriptObject object)
-
add
public JavascriptObject add(String string)
- Specified by:
addin interfaceJavascriptObject
-
-