com.github.dandelion.datatables.core.generator.javascript
Class StandardJavascriptGenerator
java.lang.Object
com.github.dandelion.datatables.core.generator.javascript.StandardJavascriptGenerator
- All Implemented Interfaces:
- com.github.dandelion.core.asset.locator.impl.DelegatedContent, JavascriptGenerator
public class StandardJavascriptGenerator
- extends Object
- implements JavascriptGenerator
Standard implementation of the JavascriptGenerator.
This implementation can aggregate multiple JsResource before
returning the generated content to Dandelion.
- Since:
- 0.10.0
- Author:
- Thibault Duchateau
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardJavascriptGenerator
public StandardJavascriptGenerator()
addResource
public void addResource(JsResource jsResource)
- Transfer the data from the
JsResource to the different String
builders (buffer).
- Specified by:
addResource in interface JavascriptGenerator
- Parameters:
jsResource - The web resource to use to generate Javascript content.
getContent
public String getContent(javax.servlet.http.HttpServletRequest request)
-
- Specified by:
getContent in interface com.github.dandelion.core.asset.locator.impl.DelegatedContent
Copyright © 2013–2014 Dandelion Project. All rights reserved.