net.sf.jelly.apt.freemarker
Class FreemarkerProcessorFactory
java.lang.Object
net.sf.jelly.apt.ProcessorFactory
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FM_LIBRARY_NS_OPTION
public static final java.lang.String FM_LIBRARY_NS_OPTION
- See Also:
- Constant Field Values
FreemarkerProcessorFactory
public FreemarkerProcessorFactory()
FreemarkerProcessorFactory
public FreemarkerProcessorFactory(java.net.URL script)
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.