Class WebTemplateFunction
java.lang.Object
net.officefloor.frame.api.function.StaticManagedFunction<Indexed,None>
net.officefloor.web.template.section.WebTemplateFunction
- All Implemented Interfaces:
ManagedFunction<Indexed,,None> ManagedFunctionFactory<Indexed,None>
ManagedFunction to write the ParsedTemplateSection.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionWebTemplateFunction(WebTemplateWriter[] contentWriters, boolean isBean, Charset charset) Initiate. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(ManagedFunctionContext<Indexed, None> context) Executes the function.Methods inherited from class net.officefloor.frame.api.function.StaticManagedFunction
createManagedFunction
-
Constructor Details
-
WebTemplateFunction
Initiate.- Parameters:
contentWriters-WebTemplateWriterinstances to write the content.isBean- Flag indicating if a bean.charset- DefaultCharsetfor the template.
-
-
Method Details
-
execute
Description copied from interface:ManagedFunctionExecutes the function.- Parameters:
context-ManagedFunctionContextfor theManagedFunction.- Throws:
IOException
-