public abstract class AbstractJsTemplateCompiler extends Object
| Constructor and Description |
|---|
AbstractJsTemplateCompiler() |
| Modifier and Type | Method and Description |
|---|---|
String |
compile(String content,
String optionalArgument)
Compiles the javascript template into plain javascript.
|
protected String |
getArguments() |
protected abstract String |
getCompileCommand() |
protected abstract InputStream |
getCompilerAsStream() |
public String compile(String content, String optionalArgument)
content - the template to be compiled.optionalArgument - any additional arguments used by template script.protected abstract String getCompileCommand()
protected String getArguments()
protected abstract InputStream getCompilerAsStream() throws IOException
IOException - if the stream could not be located.Copyright © 2008-2013. All Rights Reserved.