Uses of Interface
org.stringtemplate.v4.ModelAdaptor
-
Packages that use ModelAdaptor Package Description org.stringtemplate.v4 org.stringtemplate.v4.misc -
-
Uses of ModelAdaptor in org.stringtemplate.v4
Fields in org.stringtemplate.v4 with type parameters of type ModelAdaptor Modifier and Type Field Description protected Map<Class<?>,ModelAdaptor<?>>
STGroup. adaptors
A dictionary that allows people to register a model adaptor for a particular kind of object (subclass or implementation).Methods in org.stringtemplate.v4 that return ModelAdaptor Modifier and Type Method Description <T> ModelAdaptor<? super T>
STGroup. getModelAdaptor(Class<T> attributeType)
Methods in org.stringtemplate.v4 with parameters of type ModelAdaptor Modifier and Type Method Description <T> void
STGroup. registerModelAdaptor(Class<T> attributeType, ModelAdaptor<? super T> adaptor)
Add an adaptor for a kind of object so ST knows how to pull properties from them. -
Uses of ModelAdaptor in org.stringtemplate.v4.misc
Classes in org.stringtemplate.v4.misc that implement ModelAdaptor Modifier and Type Class Description class
AggregateModelAdaptor
Deal with structs created viaST.addAggr(java.lang.String, java.lang.Object...)
("structname.{prop1, prop2}", ...);
.class
MapModelAdaptor
class
ObjectModelAdaptor<T>
class
STModelAdaptor
-