org.ujac.web.tag
Class PrintHeaderRowTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.ujac.web.tag.BaseTag
              extended by org.ujac.web.tag.PrintRowTag
                  extended by org.ujac.web.tag.PrintHeaderRowTag
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, Tag, TemplateContextHolder, RowCellContainer

public class PrintHeaderRowTag
extends PrintRowTag

Name: PrintHeaderRowTag
Description: A custom tag class printing header rows.

Author:
lauerc
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ujac.web.tag.PrintRowTag
extraRowsAfter, extraRowsBefore, registeredRowCells, rowContainer
 
Fields inherited from class org.ujac.web.tag.BaseTag
log
 
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
PrintHeaderRowTag()
           
 
Method Summary
protected  boolean checkRowType(Row row)
          Checks the row type.
 int doEndTag()
           
protected  void outputRow()
          Performs the row output.
 
Methods inherited from class org.ujac.web.tag.PrintRowTag
alternateRowStyle, doStartTag, getCellAttributes, getEvenStyle, getHeight, getOddStyle, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getRowContainer, getStyle, getStyleAttribute, getValign, insertExtraRow, isSkipped, lookupRowContainer, outputRow, printTagStart, registerRowCell, release, setEvenStyle, setHeight, setOddStyle, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setSkipped, setStyle, setValign
 
Methods inherited from class org.ujac.web.tag.BaseTag
clearTagAttributes, getParent, getTagAttribute, getTagAttributes, getTemplateContext, removeTagAttribute, setAttribute, setTagAttribute, writeAttributes
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, 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
 

Constructor Detail

PrintHeaderRowTag

public PrintHeaderRowTag()
Method Detail

checkRowType

protected boolean checkRowType(Row row)
Checks the row type.

Overrides:
checkRowType in class PrintRowTag
Parameters:
row - The row to check.
Returns:
true if the row is valid for output, else false.

doEndTag

public int doEndTag()
             throws JspException
Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class PrintRowTag
Throws:
JspException
See Also:
BodyTagSupport.doEndTag()

outputRow

protected void outputRow()
                  throws JspException
Performs the row output.

Overrides:
outputRow in class PrintRowTag
Throws:
JspException - Thrown in case something went wrong while closing the foreach item.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.