Uses of Interface
io.quarkus.qute.TemplateInstance
-
Uses of TemplateInstance in io.quarkus.qute
Classes in io.quarkus.qute that implement TemplateInstanceModifier and TypeClassDescriptionclassclassCollects all rendering results for the specified template instance.classMethods in io.quarkus.qute that return TemplateInstanceModifier and TypeMethodDescriptiondefault TemplateInstanceTemplateInstance.computedData(String key, Function<String, Object> function) Associates the specified mapping function with the specified key.TemplateInstanceBase.computedData(String key, Function<String, Object> function) default TemplateInstancedefault TemplateInstancedefault TemplateInstancedefault TemplateInstancedefault TemplateInstanceTemplate.data(String key1, Object data1, String key2, Object data2, String key3, Object data3, String key4, Object data4) default TemplateInstanceTemplate.data(String key1, Object data1, String key2, Object data2, String key3, Object data3, String key4, Object data4, String key5, Object data5) default TemplateInstanceSet the the root data object.default TemplateInstancePut the data in a map.protected abstract TemplateInstanceForwardingTemplateInstance.delegate()protected TemplateInstanceResultsCollectingTemplateInstance.delegate()Qute.Fmt.instance()Template.instance()Create a new template instance to configure the model data.ForwardingTemplateInstance.onRendered(Runnable action) default TemplateInstanceTemplateInstance.onRendered(Runnable action) Register an action that is performed after the rendering is finished.TemplateInstanceBase.onRendered(Runnable action) ForwardingTemplateInstance.setAttribute(String key, Object value) default TemplateInstanceTemplateInstance.setAttribute(String key, Object value) TemplateInstanceBase.setAttribute(String key, Object value) default TemplateInstanceSets thelocaleattribute that can be used to localize parts of the template, i.e.default TemplateInstanceSets thelocaleattribute that can be used to localize parts of the template, i.e.default TemplateInstanceTemplateInstance.setVariant(Variant variant) Sets the variant attribute that can be used to select a specific variant of the template.Methods in io.quarkus.qute with parameters of type TemplateInstanceModifier and TypeMethodDescriptionvoidRenderedResults.accept(TemplateInstance templateInstance, String result) Method parameters in io.quarkus.qute with type arguments of type TemplateInstanceModifier and TypeMethodDescriptionvoidRenderedResults.setFilter(BiPredicate<TemplateInstance, RenderedResults.RenderedResult> filter) Only results that match the given predicate are stored.Constructors in io.quarkus.qute with parameters of type TemplateInstanceModifierConstructorDescriptionResultsCollectingTemplateInstance(TemplateInstance delegate, BiConsumer<TemplateInstance, String> resultConsumer) Constructor parameters in io.quarkus.qute with type arguments of type TemplateInstanceModifierConstructorDescriptionRenderedResults(Function<TemplateInstance, String> keyExtractor) ResultsCollectingTemplateInstance(TemplateInstance delegate, BiConsumer<TemplateInstance, String> resultConsumer)