TemplateModel
ArrayModel
, BeanModel
, BooleanModel
, CollectionModel
, DateModel
, DefaultListAdapter
, DefaultMapAdapter
, DefaultNonListCollectionAdapter
, EnumerationModel
, IteratorModel
, MapModel
, NumberModel
, ResourceBundleModel
, SimpleMapModel
, StringModel
public interface TemplateModelWithAPISupport extends TemplateModel
TemplateModel
on which the ?api
operation can be applied.
Experimental status warning: This interface is subject to change on non-backward compatible ways, hence, it shouldn't be implemented outside FreeMarker yet.
NOTHING
Modifier and Type | Method | Description |
---|---|---|
TemplateModel |
getAPI() |
Returns the model that exposes the (Java) API of the value.
|
TemplateModel getAPI() throws TemplateModelException
ObjectWrapperWithAPISupport.wrapAsAPI(Object)
.TemplateModelException