Uses of Interface
pro.verron.officestamper.api.ObjectResolver
Packages that use ObjectResolver
Package
Description
Defines the core API for the library.
Provides the core functionality for the OfficeStamper library.
This package contains the preset configurations and utilities for OfficeStamper.
-
Uses of ObjectResolver in pro.verron.officestamper.api
Classes in pro.verron.officestamper.api that implement ObjectResolverModifier and TypeClassDescriptionclassThis is an abstract class that provides a generic implementation for resolving objects to strings.Methods in pro.verron.officestamper.api that return types with arguments of type ObjectResolverModifier and TypeMethodDescriptionOfficeStamperConfiguration.getResolvers()Retrieves the list of ObjectResolvers.Methods in pro.verron.officestamper.api with parameters of type ObjectResolverModifier and TypeMethodDescriptionOfficeStamperConfiguration.addResolver(ObjectResolver resolver) Adds an ObjectResolver to the OfficeStamperConfiguration.Method parameters in pro.verron.officestamper.api with type arguments of type ObjectResolverModifier and TypeMethodDescriptionOfficeStamperConfiguration.setResolvers(List<ObjectResolver> resolvers) Sets the list of object resolvers for the OfficeStamper configuration. -
Uses of ObjectResolver in pro.verron.officestamper.core
Methods in pro.verron.officestamper.core that return types with arguments of type ObjectResolverModifier and TypeMethodDescriptionDocxStamperConfiguration.getResolvers()Retrieves the list of object resolvers.Methods in pro.verron.officestamper.core with parameters of type ObjectResolverModifier and TypeMethodDescriptionDocxStamperConfiguration.addResolver(ObjectResolver resolver) Adds a resolver to the list of resolvers in theDocxStamperConfigurationobject.Method parameters in pro.verron.officestamper.core with type arguments of type ObjectResolverModifier and TypeMethodDescriptionDocxStamperConfiguration.setResolvers(List<ObjectResolver> resolvers) Sets resolvers for resolving objects in theDocxStamperConfiguration.Constructor parameters in pro.verron.officestamper.core with type arguments of type ObjectResolverModifierConstructorDescriptionObjectResolverRegistry(List<ObjectResolver> resolvers) A registry for object resolvers. -
Uses of ObjectResolver in pro.verron.officestamper.preset
Methods in pro.verron.officestamper.preset that return ObjectResolverModifier and TypeMethodDescriptionstatic ObjectResolverReturns an instance ofObjectResolverthat can act as a fallback resolver.static ObjectResolverResolvers.image()Returns an instance ofObjectResolverthat resolvesImageto an actual image in the resulting .docx document.static ObjectResolverResolvers.isoDate()Returns an instance ofObjectResolverthat resolvesLocalDatevalues to a formatted string using theDateTimeFormatter.ISO_LOCAL_DATEpattern.static ObjectResolverResolvers.isoDate(DateTimeFormatter formatter) Returns an instance ofObjectResolverthat resolvesLocalDatevalues to a formatted string using the givenDateTimeFormatterpattern.static ObjectResolverResolvers.isoDateTime()Returns an instance ofObjectResolverthat resolvesLocalDateTimevalues to a formatted string using theDateTimeFormatter.ISO_LOCAL_DATE_TIMEpattern.static ObjectResolverResolvers.isoDateTime(DateTimeFormatter formatter) Returns an instance ofObjectResolverthat resolvesLocalDateTimevalues to a formatted string using the givenDateTimeFormatterpattern.static ObjectResolverResolvers.isoTime()Returns an instance ofObjectResolverthat resolvesLocalTimevalues to a formatted string using theDateTimeFormatter.ISO_LOCAL_TIMEpattern.static ObjectResolverResolvers.isoTime(DateTimeFormatter formatter) Returns an instance ofObjectResolverthat resolvesLocalTimevalues to a formatted string using the givenDateTimeFormatterpattern.static ObjectResolverResolvers.legacyDate()Returns an instance ofObjectResolverthat resolvesDatevalues to a formatted string using the "dd.MM.yyyy" pattern.static ObjectResolverResolvers.legacyDate(DateTimeFormatter formatter) Returns an instance ofObjectResolverthat resolvesDatevalues to a formatted string using the givenDateTimeFormatterpattern.static ObjectResolverResolvers.nullToDefault(String value) Returns an instance ofObjectResolverthat resolvesnullvalues by creating a run with a default text value.static ObjectResolverResolvers.nullToEmpty()Returns an instance ofObjectResolverthat replacesnullvalues with an empty string.static ObjectResolverResolvers.nullToPlaceholder()Returns an instance ofObjectResolverthat resolvesnullvalues by not replacing their expression.static ObjectResolverResolvers.nullToPlaceholder(String placeholderTemplate) Returns an instance ofObjectResolverthat resolvesnullvalues by not replacing their expression.Methods in pro.verron.officestamper.preset with parameters of type ObjectResolverModifier and TypeMethodDescriptionstatic OfficeStamperConfigurationOfficeStamperConfigurations.standard(ObjectResolver fallback) Creates a standardOfficeStamperConfigurationinstance with a set of predefined comment processors, resolvers, and preprocessors.