|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ckeditor.TagHelper
public class TagHelper
Helper class for CKEditor tags.
Constructor Summary | |
---|---|
TagHelper()
|
Method Summary | |
---|---|
static String |
createCKEditorIncJS(String basePath,
String args)
Creates JavaScript code for including ckeditor.js. |
static String |
jsEncode(Boolean b)
Provides basic JSON support for Boolean objects. |
static String |
jsEncode(CKEditorConfig config)
Provides basic JSON support for the configuration object. |
static String |
jsEncode(List<Object> list)
Provides basic JSON support for List objects. |
static String |
jsEncode(Map<String,Object> map)
Provides basic JSON support for Map objects. |
static String |
jsEncode(Number n)
Provides basic JSON support for Number objects. |
static String |
jsEncode(Object o)
Provides basic JSON support. |
static String |
jsEncode(String s)
Provides basic JSON support for String objects. |
static String |
script(String input)
Wraps a String with a JavaScript tag. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TagHelper()
Method Detail |
---|
public static String script(String input)
input
- input String
public static String createCKEditorIncJS(String basePath, String args)
basePath
- CKEditor base pathargs
- script arguments
public static String jsEncode(Object o)
o
- object to encode
public static String jsEncode(String s)
s
- String object to encode
public static String jsEncode(Number n)
n
- Number object to encode
public static String jsEncode(Boolean b)
b
- Boolean object to encode
public static String jsEncode(Map<String,Object> map)
map
- Map object to encode
public static String jsEncode(List<Object> list)
list
- List object to encode
public static String jsEncode(CKEditorConfig config)
config
- configuration object to encode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |