net.sf.jelly.apt.freemarker
Class FreemarkerProcessorFactory

java.lang.Object
  extended by net.sf.jelly.apt.ProcessorFactory
      extended by net.sf.jelly.apt.freemarker.FreemarkerProcessorFactory
All Implemented Interfaces:
com.sun.mirror.apt.AnnotationProcessorFactory

public class FreemarkerProcessorFactory
extends ProcessorFactory

A processor factory for the freemarker engine.

Author:
Ryan Heaton

Field Summary
static java.lang.String FM_LIBRARY_NS_OPTION
           
 
Fields inherited from class net.sf.jelly.apt.ProcessorFactory
DECLARATION_DECORATOR_OPTION, round, template, TEMPLATE_FILE_OPTION, TEMPLATE_URL_OPTION, TYPE_DECORATOR_OPTION
 
Constructor Summary
FreemarkerProcessorFactory()
           
FreemarkerProcessorFactory(java.net.URL script)
           
 
Method Summary
protected  com.sun.mirror.apt.AnnotationProcessor newProcessor(java.net.URL url)
          Instantiate a new freemarker processor.
 java.util.Collection<java.lang.String> supportedOptions()
          The supported options for this factory.
 
Methods inherited from class net.sf.jelly.apt.ProcessorFactory
decorateEnvironment, getProcessorFor, getProcessorFor, getTemplateURL, supportedAnnotationTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FM_LIBRARY_NS_OPTION

public static final java.lang.String FM_LIBRARY_NS_OPTION
See Also:
Constant Field Values
Constructor Detail

FreemarkerProcessorFactory

public FreemarkerProcessorFactory()

FreemarkerProcessorFactory

public FreemarkerProcessorFactory(java.net.URL script)
Method Detail

supportedOptions

public java.util.Collection<java.lang.String> supportedOptions()
Description copied from class: ProcessorFactory
The supported options for this factory.

Specified by:
supportedOptions in interface com.sun.mirror.apt.AnnotationProcessorFactory
Overrides:
supportedOptions in class ProcessorFactory
Returns:
The supported options for this factory.

newProcessor

protected com.sun.mirror.apt.AnnotationProcessor newProcessor(java.net.URL url)
Instantiate a new freemarker processor.

Specified by:
newProcessor in class ProcessorFactory
Parameters:
url - The URL to the template.
Returns:
The processor.