Author: adrianc
Date: Sat Jan 7 10:26:52 2012
New Revision: 1228592
URL: http://svn.apache.org/viewvc?rev=1228592&view=rev
Log:
FreeMarkerWorker JavaDocs - no functional change.
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/template/FreeMarkerWorker.java
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/template/FreeMarkerWorker.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/template/FreeMarkerWorker.java?rev=1228592&r1=1228591&r2=1228592&view=diff
==============================================================================
---
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/template/FreeMarkerWorker.java
(original)
+++
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/template/FreeMarkerWorker.java
Sat Jan 7 10:26:52 2012
@@ -277,6 +277,14 @@ public class FreeMarkerWorker {
env.setTimeZone(timeZone);
}
+ /**
+ * Returns a <code>Configuration</code> instance initialized to OFBiz
defaults. Client code should
+ * call this method instead of creating its own <code>Configuration</code>
instance. The instance
+ * returned by this method includes the <code>component://</code> resolver
and the OFBiz custom
+ * transformations.
+ *
+ * @return A <code>Configuration</code> instance.
+ */
public static Configuration getDefaultOfbizConfig() {
return defaultOfbizConfig;
}