Package | Description |
---|---|
org.stringtemplate.v4 | |
org.stringtemplate.v4.misc |
Modifier and Type | Field and 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).
|
Modifier and Type | Method and Description |
---|---|
ModelAdaptor |
STGroup.getModelAdaptor(Class<?> attributeType) |
Modifier and Type | Method and Description |
---|---|
void |
STGroup.registerModelAdaptor(Class<?> attributeType,
ModelAdaptor adaptor)
Add an adaptor for a kind of object so ST knows how to pull properties
from them.
|
Modifier and Type | Class and Description |
---|---|
class |
AggregateModelAdaptor
Deal with structs created via
ST.addAggr(java.lang.String, java.lang.Object...) ("structname.{prop1, prop2}", ...); . |
class |
MapModelAdaptor |
class |
ObjectModelAdaptor |
class |
STModelAdaptor |
Copyright © 2024. All rights reserved.