Uses of Interface
org.klojang.templates.NameMapper
Packages that use NameMapper
Package
Description
Main package of this module.
Various
NameMapper
implementations for translating
names using one naming convention into names using another naming convention.-
Uses of NameMapper in org.klojang.templates
Fields in org.klojang.templates declared as NameMapperMethods in org.klojang.templates with parameters of type NameMapperModifier and TypeMethodDescriptionAccessorRegistry.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, NameMapper nameMapper) Use the specifiedBeanReader
to access objects of the type theBeanReader
can read.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.static AccessorRegistry
AccessorRegistry.standard
(NameMapper nameMapper) Returns anAccessorRegistry
that should be sufficient for most use cases.static AccessorRegistry
AccessorRegistry.standard
(NameMapper nameMapper, boolean nullEqualsUndefined) Returns anAccessorRegistry
that should be sufficient for most use cases. -
Uses of NameMapper in org.klojang.templates.name
Classes in org.klojang.templates.name that implement NameMapperModifier and TypeClassDescriptionclass
Converts camel case identifiers to snake case identifiers.class
Converts camel case identifiers to snake case identifiers.class
Converts camel case identifiers to word case (a.k.a. pascal case) identifiers.class
Converts snake case identifiers to word case identifiers.class
Converts snake case identifiers to word case identifiers.class
Converts word case identifiers to came cal identifiers.class
Converts word case identifiers to snake case identifiers.class
Converts camel case identifiers to snake case identifiers.