Package org.wicketstuff.yui.helper
Class TokenSeparatedValues
- java.lang.Object
-
- org.wicketstuff.yui.helper.TokenSeparatedValues
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JSArray,NameValuePair
public abstract class TokenSeparatedValues extends Object implements Serializable
Basic class for generating DHTML values for Javascript and CSS 1. Javscript Arrays : ['value1', 'value2','value3'] 2. Javscript Objects : {name:"josh" , age : "44"} 3. Inline Styles : padding:1px ; color:#FF0000;- Author:
- josh
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TokenSeparatedValues()construct
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract StringgetPrefix()the prefixabstract StringgetSuffix()the suffixabstract List<String>getValues()allow child to quoteabstract StringgetValueSeparator()the separator valueStringtoString()the actual String to be returned for the Javscript
-
-
-
Method Detail
-
toString
public String toString()
the actual String to be returned for the Javscript
-
getSuffix
public abstract String getSuffix()
the suffix- Returns:
-
getPrefix
public abstract String getPrefix()
the prefix- Returns:
-
getValueSeparator
public abstract String getValueSeparator()
the separator value- Returns:
-
-