org.databene.script.freemarker
Class FreeMarkerScript
java.lang.Object
org.databene.script.AbstractScript
org.databene.script.freemarker.FreeMarkerScript
- All Implemented Interfaces:
- Script
public class FreeMarkerScript
- extends AbstractScript
Script implementation that uses the FreeMarker engine.
Created: 31.01.2007 19:56:20
- Author:
- Volker Bergmann
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
FreeMarkerScript
public FreeMarkerScript(java.lang.String filename)
throws java.io.IOException
- Throws:
java.io.IOException
FreeMarkerScript
public FreeMarkerScript(freemarker.template.Template template)
createFromText
public static FreeMarkerScript createFromText(java.lang.String text)
execute
public void execute(Context context,
java.io.Writer out)
throws java.io.IOException,
ScriptException
- Specified by:
execute in interface Script- Overrides:
execute in class AbstractScript
- Throws:
java.io.IOException
ScriptException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
- See Also:
Object.hashCode()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
- See Also:
Object.equals(Object)
Copyright © 2010. All Rights Reserved.