Uses of Class
org.klojang.templates.AccessorRegistry.Builder
Packages that use AccessorRegistry.Builder
-
Uses of AccessorRegistry.Builder in org.klojang.templates
Methods in org.klojang.templates that return AccessorRegistry.BuilderModifier and TypeMethodDescriptionstatic AccessorRegistry.Builder
AccessorRegistry.configure()
Returns aBuilder
object that lets you configure anAccessorRegistry
.AccessorRegistry.Builder.nullEqualsUndefined
(boolean b) Determines whethernull
values should be treated just likeAccessor.UNDEFINED
.Sets theAccessor
to be used for objects of the specified type.AccessorRegistry.Builder.register
(BeanReader<T> br) Use the specifiedBeanReader
to access objects of the type theBeanReader
can read.AccessorRegistry.Builder.register
(BeanReader<T> br, NameMapper nameMapper) Use the specifiedBeanReader
to access objects of the type theBeanReader
can read.AccessorRegistry.Builder.register
(BeanReader<T> beanReader, Template template) Use the specifiedBeanReader
to access objects of the type theBeanReader
can read.AccessorRegistry.Builder.register
(BeanReader<T> beanReader, Template template, NameMapper nameMapper) Use the specifiedBeanReader
to access objects of the type theBeanReader
can read.Sets theAccessor
to be used for objects of the specified type, when inserted into the specified template.AccessorRegistry.Builder.setDefaultNameMapper
(NameMapper nameMapper) Sets the defaultNameMapper
used to map template variables to bean properties and/or map keys.AccessorRegistry.Builder.setNameMapper
(Template template, NameMapper nameMapper) Sets theNameMapper
to be used for the specified template.