Uses of Interface
org.stringtemplate.v4.ModelAdaptor
Packages that use ModelAdaptor
-
Uses of ModelAdaptor in org.stringtemplate.v4
Fields in org.stringtemplate.v4 with type parameters of type ModelAdaptorModifier and TypeFieldDescriptionprotected final Map<Class<?>, ModelAdaptor<?>> STGroup.adaptorsA 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 ModelAdaptorModifier and TypeMethodDescription<T> ModelAdaptor<? super T> STGroup.getModelAdaptor(Class<T> attributeType) Methods in org.stringtemplate.v4 with parameters of type ModelAdaptorModifier and TypeMethodDescription<T> voidSTGroup.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 ModelAdaptorModifier and TypeClassDescriptionclassDeal with structs created viaST.addAggr(String, Object...)("structname.{prop1, prop2}", ...);.classclassclass