Package freemarker.ext.util
Interface WrapperTemplateModel
- All Superinterfaces:
TemplateModel
- All Known Implementing Classes:
ArrayModel
,BeanModel
,BooleanModel
,CollectionModel
,DateModel
,DefaultArrayAdapter
,DefaultEnumerationAdapter
,DefaultIterableAdapter
,DefaultIteratorAdapter
,DefaultListAdapter
,DefaultMapAdapter
,DefaultNonListCollectionAdapter
,EnumerationModel
,GenericObjectModel
,IteratorModel
,JythonHashModel
,JythonModel
,JythonNumberModel
,JythonSequenceModel
,MapModel
,NodeModel
,NumberModel
,ResourceBundleModel
,SimpleMapModel
,StringModel
A generic interface for template models that wrap some underlying
object, and wish to provide access to that wrapped object.
You may also want to implement AdapterTemplateModel
.
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the original object wrapped by this model.
-
Method Details
-
getWrappedObject
Object getWrappedObject()Retrieves the original object wrapped by this model.
-