ro.isdc.wro.extensions.processor.js
Class HoganJsProcessor

java.lang.Object
  extended by ro.isdc.wro.extensions.processor.js.JsTemplateCompilerProcessor
      extended by ro.isdc.wro.extensions.processor.js.HoganJsProcessor
All Implemented Interfaces:
ResourcePreProcessor

@SupportedResourceType(value=JS)
public class HoganJsProcessor
extends JsTemplateCompilerProcessor

A processor for hogan.js template framework. Uses hogan.js library to transform a template into plain javascript.

Since:
1.4.5
Author:
Eivind Barstad Waaler

Field Summary
static String ALIAS
           
 
Constructor Summary
HoganJsProcessor()
           
 
Method Summary
protected  AbstractJsTemplateCompiler createCompiler()
           
 
Methods inherited from class ro.isdc.wro.extensions.processor.js.JsTemplateCompilerProcessor
getArgument, process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALIAS

public static final String ALIAS
See Also:
Constant Field Values
Constructor Detail

HoganJsProcessor

public HoganJsProcessor()
Method Detail

createCompiler

protected AbstractJsTemplateCompiler createCompiler()
Specified by:
createCompiler in class JsTemplateCompilerProcessor
Returns:
the AbstractJsTemplateCompiler responsible for compiling the template.


Copyright © 2008-2013. All Rights Reserved.