Class TemplateLogic
- java.lang.Object
-
- net.officefloor.tutorial.sectionhttpserver.TemplateLogic
-
public class TemplateLogic extends java.lang.ObjectExample logic for the template.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTemplateLogic.Flowsstatic classTemplateLogic.Values
-
Constructor Summary
Constructors Constructor Description TemplateLogic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateLogic.ValuesgetHelloData()Obtains the data for the hello section.voidgetNotRender(TemplateLogic.Flows flows)Skips not render section.TemplateLogic.ValuesgetTemplateData()Obtains the data for the template section.
-
-
-
Method Detail
-
getTemplateData
public TemplateLogic.Values getTemplateData()
Obtains the data for the template section.- Returns:
TemplateLogic.Values.
-
getHelloData
public TemplateLogic.Values getHelloData()
Obtains the data for the hello section.- Returns:
TemplateLogic.Values.
-
getNotRender
public void getNotRender(TemplateLogic.Flows flows)
Skips not render section.- Parameters:
flows-TemplateLogic.Flowswhich allows rendering control over the sections of the template. As this method is called before rendering the section it skips rendering to thenoBeansection.
-
-