org.objectweb.jonas.webapp.taglib
Class GridBaseTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.apache.struts.taglib.html.BaseHandlerTag
              extended by org.objectweb.jonas.webapp.taglib.GridBaseTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
GridTableBaseTag

public abstract class GridBaseTag
extends org.apache.struts.taglib.html.BaseHandlerTag

See Also:
Serialized Form

Field Summary
protected  java.lang.String ms_BodyText
           
protected static java.lang.String QUOTE
           
 
Fields inherited from class org.apache.struts.taglib.html.BaseHandlerTag
accesskey, defaultLocale, doDisabled, doReadonly, indexed, messages, tabindex
 
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
GridBaseTag()
           
 
Method Summary
 int doAfterBody()
           
 int doEndTag()
          End of Tag Processing
 int doStartTag()
          Start of Tag processing
protected  java.lang.String getDefaultBody()
           
protected abstract  java.lang.String getHtmlElement()
           
protected  java.lang.String prepareAfterBody()
           
protected  java.lang.String prepareAfterTag()
           
protected  java.lang.String prepareAttribute(java.lang.String attribute, int value)
          Format attribute="value" from the specified attribute & value
protected  java.lang.String prepareAttribute(java.lang.String attribute, java.lang.String value)
          Format attribute="value" from the specified attribute & value
protected  java.lang.String prepareAttributes()
          Prepare the attributes of the HTML element
protected  java.lang.String prepareBeforeBody()
           
protected  java.lang.String prepareBeforeTag()
           
 void release()
          Release resources after Tag processing has finished.
 
Methods inherited from class org.apache.struts.taglib.html.BaseHandlerTag
doErrorsExist, getAccesskey, getAlt, getAltKey, getBundle, getDisabled, getElementClose, getErrorKey, getErrorStyle, getErrorStyleClass, getErrorStyleId, getIndexed, getIndexValue, getLocale, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getReadonly, getStyle, getStyleClass, getStyleId, getTabindex, getTitle, getTitleKey, isXhtml, lookupProperty, message, prepareAttribute, prepareEventHandlers, prepareFocusEvents, prepareIndex, prepareKeyEvents, prepareMouseEvents, prepareName, prepareOtherAttributes, prepareStyles, prepareTextEvents, setAccesskey, setAlt, setAltKey, setBundle, setDisabled, setErrorKey, setErrorStyle, setErrorStyleClass, setErrorStyleId, setIndexed, setLocale, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setStyleId, setTabindex, setTitle, setTitleKey
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, 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
 

Field Detail

QUOTE

protected static final java.lang.String QUOTE
See Also:
Constant Field Values

ms_BodyText

protected java.lang.String ms_BodyText
Constructor Detail

GridBaseTag

public GridBaseTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Start of Tag processing

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException - if a JSP exception occurs

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
Overrides:
doAfterBody in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
End of Tag Processing

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException - if a JSP exception occurs

prepareAttributes

protected java.lang.String prepareAttributes()
                                      throws javax.servlet.jsp.JspException
Prepare the attributes of the HTML element

Throws:
javax.servlet.jsp.JspException

prepareAttribute

protected java.lang.String prepareAttribute(java.lang.String attribute,
                                            java.lang.String value)
Format attribute="value" from the specified attribute & value


prepareAttribute

protected java.lang.String prepareAttribute(java.lang.String attribute,
                                            int value)
Format attribute="value" from the specified attribute & value


release

public void release()
Release resources after Tag processing has finished.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class org.apache.struts.taglib.html.BaseHandlerTag

getHtmlElement

protected abstract java.lang.String getHtmlElement()

prepareBeforeTag

protected java.lang.String prepareBeforeTag()

prepareAfterTag

protected java.lang.String prepareAfterTag()

prepareBeforeBody

protected java.lang.String prepareBeforeBody()

prepareAfterBody

protected java.lang.String prepareAfterBody()

getDefaultBody

protected java.lang.String getDefaultBody()