- added javadoc

git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@412429 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Toby Jee
2006-06-07 15:32:41 +00:00
parent 26380927be
commit a0aa117c8e
@@ -53,7 +53,38 @@ import java.util.Properties;
/**
* Static Configuration Manager for the FreemarkerResult's configuration
*
* <p/>
*
* Possible extension points are :-
* <ul>
* <li>createConfiguration method</li>
* <li>loadSettings method</li>
* <li>getTemplateLoader method</li>
* <li>populateContext method</li>
* </ul>
*
* <p/>
* <b> createConfiguration method </b><br/>
* Create a freemarker Configuration.
* <p/>
*
* <b> loadSettings method </b><br/>
* Load freemarker settings, default to freemarker.properties (if found in classpath)
* <p/>
*
* <b> getTemplateLoader method</b><br/>
* create a freemarker TemplateLoader that loads freemarker template in the following order :-
* <ol>
* <li>path defined in ServletContext init parameter named 'templatePath' or 'TemplatePath' (must be an absolute path)</li>
* <li>webapp classpath</li>
* <li>webwork's static folder (under [WEBWORK_SOURCE]/com/opensymphony/webwork/static/</li>
* </ol>
* <p/>
*
* <b> populateContext method</b><br/>
* populate the created model.
*
*/
public class FreemarkerManager {