Package org.mapstruct.ap.internal.writer
Infrastructure for dealing with the FreeMarker template engine.
-
Interface Summary Interface Description Writable An element with the ability to write itself into a givenWriter.Writable.Context Passed toWritable, providing access to additional data specific to a given implementation of the model serialization mechanism. -
Class Summary Class Description FreeMarkerModelElementWriter Delegate for writing givenWritables into aWriterusing FreeMarker templates.FreeMarkerModelElementWriter.ExternalParamsTemplateModel FreeMarkerWritable AWritablewhich uses the FreeMarker template engine to generate the output.IndentationCorrectingWriter EXPERIMENTAL: A writer used to write processed templates which corrects line indentation based on the nesting level as implied by (normal and curly) braces.IndentationCorrectingWriter.StateContext Keeps the current context of parsing the given character buffer.ModelIncludeDirective ATemplateDirectiveModelwhich allows to recursively write a graph ofWritables, with each element using its own template.ModelWriter Writes Java source files based on given mapper models, using a FreeMarker template.ModelWriter.DefaultModelElementWriterContext Writable.Contextimplementation which provides access to the current FreeMarkerConfiguration.ModelWriter.SimpleClasspathLoader Simplified template loader that avoids reading modification timestamps and disables the jar-file caching. -
Enum Summary Enum Description IndentationCorrectingWriter.State A state of parsing a given character buffer.