Uses of Record Class
com.nsdev.lettergenerator.component.LetterComponent
Packages that use LetterComponent
Package
Description
Mutable convenience builders that produce independent immutable model snapshots.
Immutable reusable content registered and resolved within an individual letter document.
Immutable input model for PDF letters.
-
Uses of LetterComponent in com.nsdev.lettergenerator.builder
Methods in com.nsdev.lettergenerator.builder with parameters of type LetterComponentModifier and TypeMethodDescriptionLetterBuilder.body(LetterComponent value) Appends an immutable fragment as a softly kept body group.HtmlLetterBuilder.component(String name, LetterComponent value) Registers a fragment referenced by an empty component tag with a ref attribute.LetterBuilder.component(String name, LetterComponent value) Registers a reusable document-local fragment; later registrations replace the same name.LetterBuilder.footer(LetterComponent value) Replaces footer content with a reusable fragment.LetterBuilder.header(LetterComponent value) Replaces header content with a reusable fragment.LetterBuilder.signature(LetterComponent value) Replaces signature content with a reusable fragment. -
Uses of LetterComponent in com.nsdev.lettergenerator.component
Methods in com.nsdev.lettergenerator.component that return LetterComponentModifier and TypeMethodDescriptionstatic LetterComponentGroups model blocks for document-local registration.static LetterComponentCreates one ordinary paragraph per supplied literal string, suitable for address lines. -
Uses of LetterComponent in com.nsdev.lettergenerator.model
Methods in com.nsdev.lettergenerator.model that return types with arguments of type LetterComponentModifier and TypeMethodDescriptionLetterDocument.components()Returns the value of thecomponentsrecord component.Method parameters in com.nsdev.lettergenerator.model with type arguments of type LetterComponentModifier and TypeMethodDescriptionLetterDocument.withComponents(Map<String, LetterComponent> value) Replaces component registrations with a defensive snapshot.Constructor parameters in com.nsdev.lettergenerator.model with type arguments of type LetterComponentModifierConstructorDescriptionLetterDocument(int schemaVersion, PageSpec page, Style defaultStyle, List<Section> sections, List<FixedElement> fixedElements, Signature signature, Watermark watermark, LetterTheme theme, Map<String, LetterComponent> components) Preserves composition-aware construction without additional settings or attachments.LetterDocument(int schemaVersion, PageSpec page, Style defaultStyle, List<Section> sections, List<FixedElement> fixedElements, Signature signature, Watermark watermark, LetterTheme theme, Map<String, LetterComponent> components, DocumentSettings settings, List<PdfAttachment> attachments) Substitutes the default page and snapshots both lists without validating their contents.