Package org.stringtemplate.v4
package org.stringtemplate.v4
-
ClassDescriptionThis interface describes an object that knows how to format or otherwise render an object appropriately.Essentially a char filter that knows how to auto-indent output by maintaining a stack of indent levels.This class knows how to execute template bytecodes relative to a particular
STGroup
.ModelAdaptor<T>An object that knows how to convert property references to appropriate actions on a model object.Just pass through the text.An instance of the StringTemplate.Just an alias forArrayList
, but this way I can track whether a list is something ST created or it's an incoming list.Events during template hierarchy construction (not evaluation)<@r()>
,<@r>...<@end>
, and@t.r() ::= "..."
defined manually by coderHow to handle messages.A directory or directory tree of.st
template files and/or group files.A directory or directory tree full of templates and/or group files.The internal representation of a single group file (which must end in ".stg").A group derived from a string not a file or directory.A directory of templates without headers like ST v3 had.This render knows to perform a few format operations onString
objects:upper
: Convert to upper case.lower
: Convert to lower case.cap
: Convert first character to upper case.url-encode
:xml-encode
:Generic StringTemplate output writer filter.