public class HoganJs extends AbstractJsTemplateCompiler
| Constructor and Description |
|---|
HoganJs() |
| Modifier and Type | Method and Description |
|---|---|
String |
compile(String content,
String optionalArgument)
Compiles the javascript template into plain javascript.
|
protected String |
getArguments() |
protected String |
getCompileCommand() |
protected InputStream |
getCompilerAsStream() |
public String compile(String content, String optionalArgument)
compile in class AbstractJsTemplateCompilercontent - the template to be compiled.optionalArgument - any additional arguments used by template script.protected InputStream getCompilerAsStream()
getCompilerAsStream in class AbstractJsTemplateCompilerprotected String getCompileCommand()
getCompileCommand in class AbstractJsTemplateCompilerprotected String getArguments()
getArguments in class AbstractJsTemplateCompilerCopyright © 2008-2013. All Rights Reserved.