org.ow2.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.ow2.jonas.webapp.taglib.GridBaseTag
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag
Direct Known Subclasses:
GridTableBaseTag

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

See Also:
Serialized Form

Field Summary
protected  String ms_BodyText
           
protected static 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  String getDefaultBody()
           
protected abstract  String getHtmlElement()
           
protected  String prepareAfterBody()
           
protected  String prepareAfterTag()
           
protected  String prepareAttribute(String attribute, int value)
          Format attribute="value" from the specified attribute & value
protected  String prepareAttribute(String attribute, String value)
          Format attribute="value" from the specified attribute & value
protected  String prepareAttributes()
          Prepare the attributes of the HTML element
protected  String prepareBeforeBody()
           
protected  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 String QUOTE
See Also:
Constant Field Values

ms_BodyText

protected String ms_BodyText
Constructor Detail

GridBaseTag

public GridBaseTag()
Method Detail

doStartTag

public int doStartTag()
               throws JspException
Start of Tag processing

Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class BodyTagSupport
Throws:
JspException - if a JSP exception occurs

doAfterBody

public int doAfterBody()
                throws JspException
Specified by:
doAfterBody in interface IterationTag
Overrides:
doAfterBody in class BodyTagSupport
Throws:
JspException

doEndTag

public int doEndTag()
             throws JspException
End of Tag Processing

Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class BodyTagSupport
Throws:
JspException - if a JSP exception occurs

prepareAttributes

protected String prepareAttributes()
                            throws JspException
Prepare the attributes of the HTML element

Throws:
JspException

prepareAttribute

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


prepareAttribute

protected String prepareAttribute(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 Tag
Overrides:
release in class org.apache.struts.taglib.html.BaseHandlerTag

getHtmlElement

protected abstract String getHtmlElement()

prepareBeforeTag

protected String prepareBeforeTag()

prepareAfterTag

protected String prepareAfterTag()

prepareBeforeBody

protected String prepareBeforeBody()

prepareAfterBody

protected String prepareAfterBody()

getDefaultBody

protected String getDefaultBody()


Copyright © 2010 OW2 Consortium. All Rights Reserved.