public class JavaScriptCompressorDirective
extends org.apache.velocity.runtime.directive.Directive
HtmlCompressor are supported.HtmlCompressor,
Yahoo YUI Compressor,
Google Closure Compiler| Constructor and Description |
|---|
JavaScriptCompressorDirective() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
int |
getType() |
void |
init(org.apache.velocity.runtime.RuntimeServices rs,
org.apache.velocity.context.InternalContextAdapter context,
org.apache.velocity.runtime.parser.node.Node node) |
boolean |
render(org.apache.velocity.context.InternalContextAdapter context,
Writer writer,
org.apache.velocity.runtime.parser.node.Node node) |
public String getName()
getName in class org.apache.velocity.runtime.directive.Directivepublic int getType()
getType in class org.apache.velocity.runtime.directive.Directivepublic void init(org.apache.velocity.runtime.RuntimeServices rs,
org.apache.velocity.context.InternalContextAdapter context,
org.apache.velocity.runtime.parser.node.Node node)
throws org.apache.velocity.exception.TemplateInitException
init in class org.apache.velocity.runtime.directive.Directiveorg.apache.velocity.exception.TemplateInitExceptionpublic boolean render(org.apache.velocity.context.InternalContextAdapter context,
Writer writer,
org.apache.velocity.runtime.parser.node.Node node)
throws IOException,
org.apache.velocity.exception.MethodInvocationException
render in class org.apache.velocity.runtime.directive.DirectiveIOExceptionorg.apache.velocity.exception.MethodInvocationExceptionCopyright © 2009–2016 Jeremy Landis. All rights reserved.