Interface TemplateModelWithAPISupport
- All Superinterfaces:
TemplateModel
- All Known Implementing Classes:
ArrayModel, BeanModel, BooleanModel, CollectionModel, DateModel, DefaultEnumerationAdapter, DefaultIterableAdapter, DefaultIteratorAdapter, DefaultListAdapter, DefaultMapAdapter, DefaultNonListCollectionAdapter, EnumerationModel, IteratorModel, MapModel, NumberModel, ResourceBundleModel, SimpleMapModel, StringModel
A
TemplateModel on which the ?api operation can be applied.- Since:
- 2.3.22
-
Field Summary
Fields inherited from interface TemplateModel
NOTHING -
Method Summary
Modifier and TypeMethodDescriptiongetAPI()Returns the model that exposes the (Java) API of the value.
-
Method Details
-
getAPI
Returns the model that exposes the (Java) API of the value. This is usually implemented by delegating toObjectWrapperWithAPISupport.wrapAsAPI(Object).- Throws:
TemplateModelException
-