org.loom.tags
Class AbstractDecoratedTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by org.loom.tags.AbstractTag
          extended by org.loom.tags.AbstractDecoratedTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag, LoomTag
Direct Known Subclasses:
AbstractHtmlTag, InputHiddenTag, MenuTag, MultiUploadTag, TabContainerTag, TabTag

public abstract class AbstractDecoratedTag
extends AbstractTag

Parent class of any decorated tag

Author:
icoloma

Field Summary
protected  java.lang.String decorator
          the name of the decorator for this tag.
 
Fields inherited from class org.loom.tags.AbstractTag
out, repository, request, response
 
Constructor Summary
AbstractDecoratedTag()
           
 
Method Summary
 void doTag()
          Initializes the Request and PageData properties, and forward the call to the child class
 java.lang.String getDecorator()
           
 TagDecorator getDecoratorInstance()
          Retrieves the decorator instance.
 void setDecorator(java.lang.String decorator)
           
 
Methods inherited from class org.loom.tags.AbstractTag
createWriterWrapper, doBody, doBufferedBody, doTagImpl, endTag, evaluateExpression, getActionProperty, getAncestorWithClass, getBufferedBody, getExtendedAttributes, getMessagesRepository, getPageContext, getRequest, getResponse, getScopedAttribute, getWriter, initTag, printParentAttributes, removeScopedAttribute, setDynamicAttribute, setExtendedAttribute, setRequest, setResponse, setScopedAttribute, setWriter
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

decorator

protected java.lang.String decorator
the name of the decorator for this tag. If unspecified, uses the default for the tag class. If don't want this tag to be decorated, set to "none"

Constructor Detail

AbstractDecoratedTag

public AbstractDecoratedTag()
Method Detail

doTag

public final void doTag()
                 throws javax.servlet.jsp.JspException,
                        java.io.IOException
Initializes the Request and PageData properties, and forward the call to the child class

Specified by:
doTag in interface javax.servlet.jsp.tagext.SimpleTag
Overrides:
doTag in class AbstractTag
Throws:
javax.servlet.jsp.JspException
java.io.IOException

getDecoratorInstance

public TagDecorator getDecoratorInstance()
Retrieves the decorator instance.


setDecorator

public void setDecorator(java.lang.String decorator)

getDecorator

public java.lang.String getDecorator()


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