net.officefloor.tutorial.sectionhttpserver
Class TemplateLogic

java.lang.Object
  extended by net.officefloor.tutorial.sectionhttpserver.TemplateLogic

public class TemplateLogic
extends Object

Example logic for the template.

Author:
Daniel Sagenschneider

Nested Class Summary
static interface TemplateLogic.Flows
           
static class TemplateLogic.Values
           
 
Constructor Summary
TemplateLogic()
           
 
Method Summary
 TemplateLogic.Values getHelloData()
          Obtains the data for the hello section.
 void getNotRender(TemplateLogic.Flows flows)
          Skips not render section.
 TemplateLogic.Values getTemplateData()
          Obtains the data for the template section.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateLogic

public TemplateLogic()
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.Flows which allows rendering control over the sections of the template. As this method is called before rendering the section it skips rendering to the noBean section.


Copyright © 2005-2012. All Rights Reserved.