Top Interfaces Classes
[default module]

Package org.stringtemplate.v4


Interface Summary

Modifier and TypeInterface and Description
public interface
AttributeRenderer<
the type of values this renderer can handle.
T
>

This interface describes an object that knows how to format or otherwise render an object appropriately.

public interface
ModelAdaptor<
the type of values this adaptor can handle.
T
>

An object that knows how to convert property references to appropriate actions on a model object.

public interface
STErrorListener

How to handle messages.

public interface
STWriter

Generic StringTemplate output writer filter.

Class Summary

Modifier and TypeClass and Description
public class
AutoIndentWriter

Essentially a char filter that knows how to auto-indent output by maintaining a stack of indent levels.

public class
DateRenderer

A renderer for Date and Calendar objects.

public class
public class
Interpreter

This class knows how to execute template bytecodes relative to a particular STGroup.

public class
NoIndentWriter

Just pass through the text.

public class
NumberRenderer

Works with Byte, Short, Integer, Long, and BigInteger as well as Float, Double, and BigDecimal.

public class
ST

An instance of the StringTemplate.

public class
STGroup

A directory or directory tree of .st template files and/or group files.

public class
STGroupDir

A directory or directory tree full of templates and/or group files.

public class
STGroupFile

The internal representation of a single group file (which must end in ".stg").

public class
STGroupString

A group derived from a string not a file or directory.

public class
STRawGroupDir

A directory of templates without headers like ST v3 had.

public class
StringRenderer

This render knows to perform a few format operations on String objects:

  • upper: Convert to upper case.
  • lower: Convert to lower case.
  • cap: Convert first character to upper case.
  • url-encode:
  • xml-encode: