Uses of Class
org.klojang.templates.StringifierRegistry.Builder
Packages that use StringifierRegistry.Builder
-
Uses of StringifierRegistry.Builder in org.klojang.templates
Methods in org.klojang.templates that return StringifierRegistry.BuilderModifier and TypeMethodDescriptionstatic StringifierRegistry.Builder
StringifierRegistry.cleanSlate()
Returns aBuilder
instance that lets you configure aStringifierRegistry
.static StringifierRegistry.Builder
StringifierRegistry.configure()
Returns aBuilder
instance that lets you configure aStringifierRegistry
.StringifierRegistry.Builder.forName
(String name, Stringifier stringifier) Assigns the specified stringifier to all variables with the specified name.StringifierRegistry.Builder.forTemplate
(Template root, String nestedTemplateName, Stringifier stringifier, String... varNames) Assigns the specified stringifier to one or more variables in a nested template.StringifierRegistry.Builder.forType
(Class<?> type, Stringifier stringifier) Assigns the specified stringifier to the specified type.StringifierRegistry.Builder.forVarGroup
(String groupName, Stringifier stringifier) Assigns the specified stringifier to the specified variable group.StringifierRegistry.Builder.register
(Template template, Stringifier stringifier, String... varNames) Assigns the specified stringifier to one or more variables in the specified template.StringifierRegistry.Builder.setDefaultStringifier
(Stringifier stringifier) Lets you specify an alternative default stringifier, replacingStringifier.DEFAULT
.Explicitly sets the data type of the specified variables.