public class STGroupString extends STGroup
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
alreadyLoaded |
String |
sourceName |
String |
text |
adaptors, DEFAULT_ERR_MGR, DEFAULT_KEY, defaultGroup, delimiterStartChar, delimiterStopChar, DICT_KEY, dictionaries, encoding, errMgr, GROUP_FILE_EXTENSION, imports, importsToClearOnUnload, iterateAcrossValues, NOT_FOUND_ST, renderers, TEMPLATE_FILE_EXTENSION, templates, trackCreationEvents, typeToAdaptorCache, typeToRendererCache, verbose| Constructor and Description |
|---|
STGroupString(String text) |
STGroupString(String sourceName,
String text) |
STGroupString(String sourceName,
String text,
char delimiterStartChar,
char delimiterStopChar) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFileName() |
boolean |
isDefined(String name)
Is this template defined in this group or from this group below?
Names must be absolute, fully-qualified names like
/a/b. |
boolean |
isDictionary(String name) |
void |
load()
Force a load if it makes sense for the group.
|
protected CompiledST |
load(String name)
Load st from disk if directory or load whole group file if .stg file (then
return just one template).
|
compile, createSingleton, createStringTemplate, createStringTemplateInternally, createStringTemplateInternally, defineDictionary, defineRegion, defineTemplate, defineTemplate, defineTemplate, defineTemplateAlias, defineTemplateOrRegion, getAttributeRenderer, getEmbeddedInstanceOf, getImportedGroups, getInstanceOf, getListener, getMangledRegionName, getModelAdaptor, getName, getRootDirURL, getTemplateNames, getUnMangledTemplateName, getURL, importTemplates, importTemplates, importTemplates, invalidateModelAdaptorCache, loadAbsoluteTemplateFile, loadGroupFile, loadTemplateFile, lookupImportedTemplate, lookupTemplate, rawDefineTemplate, rawGetDictionary, rawGetTemplate, registerModelAdaptor, registerRenderer, registerRenderer, setListener, show, toString, undefineTemplate, unloadpublic String sourceName
public String text
protected boolean alreadyLoaded
public STGroupString(String text)
public boolean isDictionary(String name)
isDictionary in class STGrouppublic boolean isDefined(String name)
STGroup/a/b.protected CompiledST load(String name)
STGroupname is fully-qualified.public void load()
STGrouppublic String getFileName()
getFileName in class STGroupCopyright © 2013. All Rights Reserved.