Uses of Interface
pro.verron.officestamper.api.ObjectResolver
Package
Description
This package provides presets and recommended configurations for docxstamper library users;
-
Uses of ObjectResolver in pro.verron.officestamper.api
Modifier and TypeClassDescriptionclass
This is an abstract class that provides a generic implementation for resolving objects to strings.Modifier and TypeMethodDescriptionOfficeStamperConfiguration.getResolvers()
Retrieves the list of ObjectResolvers.Modifier and TypeMethodDescriptionOfficeStamperConfiguration.addResolver
(ObjectResolver resolver) Adds an ObjectResolver to the OfficeStamperConfiguration.Modifier and TypeMethodDescriptionOfficeStamperConfiguration.setResolvers
(List<ObjectResolver> resolvers) Sets the list of object resolvers for the OfficeStamper configuration. -
Uses of ObjectResolver in pro.verron.officestamper.preset
Modifier and TypeMethodDescriptionstatic ObjectResolver
Resolvers.fallback()
Returns an instance ofObjectResolver
that can act as a fallback resolver.static ObjectResolver
Resolvers.image()
Returns an instance ofObjectResolver
that resolvesImage
to an actual image in the resulting .docx document.static ObjectResolver
Resolvers.isoDate()
Returns an instance ofObjectResolver
that resolvesLocalDate
values to a formatted string using theDateTimeFormatter.ISO_LOCAL_DATE
pattern.static ObjectResolver
Resolvers.isoDate
(DateTimeFormatter formatter) Returns an instance ofObjectResolver
that resolvesLocalDate
values to a formatted string using the givenDateTimeFormatter
pattern.static ObjectResolver
Resolvers.isoDateTime()
Returns an instance ofObjectResolver
that resolvesLocalDateTime
values to a formatted string using theDateTimeFormatter.ISO_LOCAL_DATE_TIME
pattern.static ObjectResolver
Resolvers.isoDateTime
(DateTimeFormatter formatter) Returns an instance ofObjectResolver
that resolvesLocalDateTime
values to a formatted string using the givenDateTimeFormatter
pattern.static ObjectResolver
Resolvers.isoTime()
Returns an instance ofObjectResolver
that resolvesLocalTime
values to a formatted string using theDateTimeFormatter.ISO_LOCAL_TIME
pattern.static ObjectResolver
Resolvers.isoTime
(DateTimeFormatter formatter) Returns an instance ofObjectResolver
that resolvesLocalTime
values to a formatted string using the givenDateTimeFormatter
pattern.static ObjectResolver
Resolvers.legacyDate()
Returns an instance ofObjectResolver
that resolvesDate
values to a formatted string using the "dd.MM.yyyy" pattern.static ObjectResolver
Resolvers.legacyDate
(DateTimeFormatter formatter) Returns an instance ofObjectResolver
that resolvesDate
values to a formatted string using the givenDateTimeFormatter
pattern.static ObjectResolver
Resolvers.nullToDefault
(String value) Returns an instance ofObjectResolver
that resolves null objects by creating a run with a default text value.static ObjectResolver
Resolvers.nullToEmpty()
Returns an instance ofObjectResolver
that replaces null values with an empty string.static ObjectResolver
Resolvers.nullToPlaceholder()
Returns an instance ofObjectResolver
that resolves null objects by not replacing their expression.