org.loom.tags.decorator
Class PrintHiddenFieldDecorator

java.lang.Object
  extended by org.loom.tags.decorator.AbstractLoomDecorator<InputHiddenTag>
      extended by org.loom.tags.decorator.PrintHiddenFieldDecorator
All Implemented Interfaces:
TagDecorator<InputHiddenTag>

public class PrintHiddenFieldDecorator
extends AbstractLoomDecorator<InputHiddenTag>

Outputs the content of a hidden field


Constructor Summary
PrintHiddenFieldDecorator()
           
 
Method Summary
 void afterDoTag(InputHiddenTag tag)
           
 boolean beforeDoTag(InputHiddenTag tag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintHiddenFieldDecorator

public PrintHiddenFieldDecorator()
Method Detail

beforeDoTag

public boolean beforeDoTag(InputHiddenTag tag)
                    throws java.io.IOException
Specified by:
beforeDoTag in interface TagDecorator<InputHiddenTag>
Specified by:
beforeDoTag in class AbstractLoomDecorator<InputHiddenTag>
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

afterDoTag

public void afterDoTag(InputHiddenTag tag)
                throws java.io.IOException
Specified by:
afterDoTag in interface TagDecorator<InputHiddenTag>
Specified by:
afterDoTag in class AbstractLoomDecorator<InputHiddenTag>
Throws:
java.io.IOException