net.mlw.vlh.web.tag
Class ConfigurableTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bynet.mlw.vlh.web.tag.ConfigurableTag
All Implemented Interfaces:
Attributeable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
ActionTag, BaseColumnTag, DefaultColumnsTag, DefaultPagingTag, DefaultRowTag, FocusStatusTag, ValueListRetriever

public class ConfigurableTag
extends javax.servlet.jsp.tagext.BodyTagSupport
implements Attributeable

Author:
mwilson, azachar
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
ConfigurableTag()
           
 
Method Summary
 void appendClassCellAttribute(String value)
          Append to initialClassCellAttibutes this class attribute value
 int doEndTag()
           
 String getAttributes()
           
 Attributes getCellAttributes()
           
 void release()
          Called on a Tag handler to release state.
protected  void resetAttributes()
           
 void setAttributes(String attributes)
           
 void setCellAttribute(String name, String value)
          It sets initialClassCellAttibutes, if found as name 'class'
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

ConfigurableTag

public ConfigurableTag()
Method Detail

setCellAttribute

public void setCellAttribute(String name,
                             String value)
It sets initialClassCellAttibutes, if found as name 'class'

Specified by:
setCellAttribute in interface Attributeable
Parameters:
name - The name of the attribute.
value - The value of the attribute.
See Also:
Attributeable.setCellAttribute(java.lang.String, java.lang.String)

appendClassCellAttribute

public void appendClassCellAttribute(String value)
Append to initialClassCellAttibutes this class attribute value

Parameters:
value - The class attribute value

getCellAttributes

public Attributes getCellAttributes()

getAttributes

public String getAttributes()
Returns:
Returns the attributes.

setAttributes

public void setAttributes(String attributes)
Parameters:
attributes - The attributes to set.

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Throws:
javax.servlet.jsp.JspException
See Also:
Tag.doEndTag()

resetAttributes

protected void resetAttributes()

release

public void release()
Called on a Tag handler to release state. The page compiler guarantees that JSP page implementation objects will invoke this method on all tag handlers, but there may be multiple invocations on doStartTag and doEndTag in between.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
See Also:
Tag.release()


Copyright © 2003-2006 mlavilson. All Rights Reserved.