Class StringObjectWrapper
java.lang.Object
ch.tocco.nice2.templating.impl.freemarker.templatemodel.StringObjectWrapper
- All Implemented Interfaces:
TemplateObjectWrapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
freemarker.template.TemplateModel
wrap
(Object object, TemplateDefaultObjectWrapper defaultObjectWrapper) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.templating.impl.freemarker.templatemodel.TemplateObjectWrapper
useInDefaultObjectWrapper
-
Constructor Details
-
StringObjectWrapper
public StringObjectWrapper()
-
-
Method Details
-
wrap
public freemarker.template.TemplateModel wrap(Object object, TemplateDefaultObjectWrapper defaultObjectWrapper) throws freemarker.template.TemplateModelException - Specified by:
wrap
in interfaceTemplateObjectWrapper
- Throws:
freemarker.template.TemplateModelException
-
canWrap
- Specified by:
canWrap
in interfaceTemplateObjectWrapper
- Returns:
- true if this implementation can wrap the provided object
-