Uses of Interface
org.stringtemplate.v4.AttributeRenderer
-
Packages that use AttributeRenderer Package Description org.stringtemplate.v4 -
-
Uses of AttributeRenderer in org.stringtemplate.v4
Classes in org.stringtemplate.v4 that implement AttributeRenderer Modifier and Type Class Description class
DateRenderer
class
NumberRenderer
class
StringRenderer
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
:Fields in org.stringtemplate.v4 with type parameters of type AttributeRenderer Modifier and Type Field Description protected Map<Class<?>,AttributeRenderer<?>>
STGroup. renderers
A dictionary that allows people to register a renderer for a particular kind of object for any template evaluated relative to this group.Methods in org.stringtemplate.v4 that return AttributeRenderer Modifier and Type Method Description <T> AttributeRenderer<? super T>
STGroup. getAttributeRenderer(Class<T> attributeType)
Get renderer for classT
associated with this group.Methods in org.stringtemplate.v4 with parameters of type AttributeRenderer Modifier and Type Method Description <T> void
STGroup. registerRenderer(Class<T> attributeType, AttributeRenderer<? super T> r)
Register a renderer for all objects of a particular "kind" for all templates evaluated relative to this group.<T> void
STGroup. registerRenderer(Class<T> attributeType, AttributeRenderer<? super T> r, boolean recursive)
-