org.loom.tags.decorator
Class AbstractLoomDecorator<T extends LoomTag>

java.lang.Object
  extended by org.loom.tags.decorator.AbstractLoomDecorator<T>
All Implemented Interfaces:
TagDecorator<T>
Direct Known Subclasses:
AbstractFormInputDecorator, LinkOnlyDecorator, PrintHiddenFieldDecorator, ReadOnlyDecorator

public abstract class AbstractLoomDecorator<T extends LoomTag>
extends java.lang.Object
implements TagDecorator<T>


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

Constructor Detail

AbstractLoomDecorator

public AbstractLoomDecorator()
Method Detail

beforeDoTag

public abstract boolean beforeDoTag(T tag)
                             throws java.io.IOException,
                                    javax.servlet.jsp.JspException
Specified by:
beforeDoTag in interface TagDecorator<T extends LoomTag>
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 abstract void afterDoTag(T tag)
                         throws java.io.IOException,
                                javax.servlet.jsp.JspException
Specified by:
afterDoTag in interface TagDecorator<T extends LoomTag>
Throws:
java.io.IOException
javax.servlet.jsp.JspException


The Loom Framework 1.6-SNAPSHOT.
Licensed under the Apache License, Version 2.0 by Extrema Sistemas de Informacion S.L.