|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jelly.apt.freemarker.FreemarkerProcessor
public class FreemarkerProcessor
The processor for a freemarker template file.
Constructor Summary | |
---|---|
FreemarkerProcessor(java.net.URL templateURL)
|
Method Summary | |
---|---|
protected freemarker.template.Configuration |
getConfiguration()
Get the freemarker configuration. |
protected APTJellyObjectWrapper |
getObjectWrapper()
Get the object wrapper for the main model. |
protected FreemarkerModel |
getRootModel()
The root data model for the template. |
protected freemarker.cache.URLTemplateLoader |
getTemplateLoader()
Get the template loader for the freemarker configuration. |
java.net.URL |
getTemplateURL()
The template URL. |
protected java.util.Collection<FreemarkerTransform> |
getTransforms()
The collection of transforms to establish in the model before processing. |
protected java.util.Collection<FreemarkerVariable> |
getVariables()
The collection of variables to establish in the model before processing. |
protected FreemarkerModel |
newRootModel()
Instantiate a new root model. |
void |
process()
|
protected void |
process(java.io.IOException e)
Process an IOException. |
protected void |
process(freemarker.template.TemplateException e)
Process a TemplateException. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FreemarkerProcessor(java.net.URL templateURL)
Method Detail |
---|
public void process()
process
in interface com.sun.mirror.apt.AnnotationProcessor
public java.net.URL getTemplateURL()
protected void process(freemarker.template.TemplateException e)
e
- The exception to process.protected void process(java.io.IOException e)
e
- The exception to process.protected APTJellyObjectWrapper getObjectWrapper()
protected FreemarkerModel getRootModel() throws freemarker.template.TemplateModelException
freemarker.template.TemplateModelException
protected FreemarkerModel newRootModel()
protected freemarker.template.Configuration getConfiguration()
protected java.util.Collection<FreemarkerTransform> getTransforms()
protected java.util.Collection<FreemarkerVariable> getVariables()
protected freemarker.cache.URLTemplateLoader getTemplateLoader()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |