fmpp.models
Class TemplateModelUtils
java.lang.Object
fmpp.models.TemplateModelUtils
- Direct Known Subclasses:
- AddTransform, ClearTransform, RemoveTransform, SetTransform
public class TemplateModelUtils
- extends java.lang.Object
Constains utility methods for transform and method variable implementation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateModelUtils
public TemplateModelUtils()
strParam
protected java.lang.String strParam(java.lang.Object m,
java.lang.String name)
throws freemarker.template.TemplateModelException
- Throws:
freemarker.template.TemplateModelException
intParam
protected int intParam(java.lang.Object m,
java.lang.String name)
throws freemarker.template.TemplateModelException
- Throws:
freemarker.template.TemplateModelException
boolParam
protected boolean boolParam(java.lang.Object m,
java.lang.String name)
throws freemarker.template.TemplateModelException
- Throws:
freemarker.template.TemplateModelException
dieWithMissingParam
protected void dieWithMissingParam(java.lang.String pname)
throws freemarker.template.TemplateModelException
- Throws:
freemarker.template.TemplateModelException
dieWithUnknownParam
protected void dieWithUnknownParam(java.lang.String pname)
throws freemarker.template.TemplateModelException
- Throws:
freemarker.template.TemplateModelException
dieWithParamsNotAllowed
protected void dieWithParamsNotAllowed()
throws freemarker.template.TemplateModelException
- Throws:
freemarker.template.TemplateModelException