com.renomad.minum.templating.RenderingResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of minum Show documentation
Show all versions of minum Show documentation
A minimalist web framework
The newest version!
package com.renomad.minum.templating;
/**
* The result of rendering one of the {@link TemplateSection}s, used to build
* up the full template. This is needed so we obtain information about whether our
* user-supplied keys were applied.
* @param renderedSection The result of rendering this section. In the case of a
* {@link TemplateSection} that takes a key, this will be
* the result of replacing that with what the user provided.
* @param appliedKey In cases where a key was replaced with a value supplied by
* the user, this will supply the key that was replaced. This is
* useful to track how the supplied keys are being used in the template.
*/
public record RenderingResult(String renderedSection, String appliedKey) { }
© 2015 - 2025 Weber Informatics LLC | Privacy Policy