|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JavascriptGenerator
Interface for all Javascript generators.
The default implementation is the StandardJavascriptGenerator class
but it can be replaced by another class that implements this interface thanks
to the DatatablesConfigurator.
As it extends the DelegatedContent interface, the implementation must
also implement the
DelegatedContent.getContent(javax.servlet.http.HttpServletRequest)
method, which should return the generated Javascript.
| Field Summary | |
|---|---|
static String |
INDENTATION
|
static String |
NEWLINE
|
| Method Summary | |
|---|---|
void |
addResource(JsResource jsResource)
Transfer the data from the JsResource to the different String
builders (buffer). |
| Methods inherited from interface com.github.dandelion.core.asset.locator.impl.DelegatedContent |
|---|
getContent |
| Field Detail |
|---|
static final String INDENTATION
static final String NEWLINE
| Method Detail |
|---|
void addResource(JsResource jsResource)
JsResource to the different String
builders (buffer).
jsResource - The web resource to use to generate Javascript content.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||