org.loom.tags.decorator
Class LinkOnlyDecorator

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

public class LinkOnlyDecorator
extends AbstractLoomDecorator<UrlTag>

Render just the link of a UrlTag, skipping the "


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

Constructor Detail

LinkOnlyDecorator

public LinkOnlyDecorator()
Method Detail

beforeDoTag

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