WrapperTemplateModel (FreeMarker 2.3.35 API)
Description: declaration: package: freemarker.ext.util, interface: WrapperTemplateModel

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`

public interface WrapperTemplateModel extends TemplateModel
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 Type
  Method
  Description
  `Object`
  `getWrappedObject()`
  Retrieves the original object wrapped by this model.

- ## Method Details

  - ### getWrappedObject

    Object getWrappedObject()
    Retrieves the original object wrapped by this model.