Package pro.verron.docxstamper.preset.resolver
package pro.verron.docxstamper.preset.resolver
-
ClassesClassDescriptionThis ITypeResolver creates a formatted date String for expressions that return a Date object.This ITypeResolver allows context objects to return objects of type Image.Resolves
LocalDateobjects by formatting them with aDateTimeFormatter.ResolvesLocalDateTimevalues to a formatted string.ResolvesLocalTimevalues to the format specified by theDateTimeFormatterpassed to the constructor.The Null2DefaultResolver class is an implementation of the ObjectResolver interface that resolves null objects by creating a run with a default text value.The Null2PlaceholderResolver class is an implementation of the ObjectResolver interface.The Resolvers class provides static methods to create different types of ObjectResolvers.A StringResolver is an abstract class that provides a generic implementation for resolving objects to strings.The ToStringResolver class is an implementation of the ObjectResolver interface that resolves objects by converting them to a string representation using the `toString()` method and creating a new run with the resolved content.