org.loom.tags.tabs
Class DefaultTabDecorator

java.lang.Object
  extended by org.loom.tags.tabs.DefaultTabDecorator
All Implemented Interfaces:
TagDecorator<TabTag>, TabDecorator

public class DefaultTabDecorator
extends java.lang.Object
implements TabDecorator

Render a tab


Constructor Summary
DefaultTabDecorator()
           
 
Method Summary
 void afterDoTag(TabTag tag)
           
 boolean beforeDoTag(TabTag tag)
           
 void printTabHeader(WriterWrapper<?> out, MessagesRepository repository, TabTag tab)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTabDecorator

public DefaultTabDecorator()
Method Detail

beforeDoTag

public boolean beforeDoTag(TabTag tag)
                    throws java.io.IOException,
                           javax.servlet.jsp.JspException
Specified by:
beforeDoTag in interface TagDecorator<TabTag>
Returns:
true to execute the tag afterwards, false to skip the tag. If false, the afterDoTag method will not be triggered.
Throws:
java.io.IOException
javax.servlet.jsp.JspException

afterDoTag

public void afterDoTag(TabTag tag)
                throws java.io.IOException,
                       javax.servlet.jsp.JspException
Specified by:
afterDoTag in interface TagDecorator<TabTag>
Throws:
java.io.IOException
javax.servlet.jsp.JspException

printTabHeader

public void printTabHeader(WriterWrapper<?> out,
                           MessagesRepository repository,
                           TabTag tab)
                    throws java.io.IOException,
                           javax.servlet.jsp.JspException
Specified by:
printTabHeader in interface TabDecorator
Throws:
java.io.IOException
javax.servlet.jsp.JspException