# com.bea.wlw.netui.tags.databinding.repeater
RepeaterComponent Class

public abstract class RepeaterComponent
extends `StructuredBaseTag`

The base class for tags that are part of the `Repeater``` tag set and participate in the structured nature of `Repeater``` rendering. This class provides typed access to the `Repeater``` tag and enforces the basic JSP tag parenting requirements of tags that can only be nested within the `Repeater``` tag.

Related Topics

`StructuredBaseTag`

Hierarchy
  `Object`
  `TagSupport`
  `BodyTagSupport`
  `AbstractBaseTag`
  `StructuredBaseTag`
  `RepeaterComponent`

All Implemented Interfaces
  `BodyTag`, `IterationTag`, `Serializable`, `Tag`

Direct Known Subclasses
  `Choice`, `Pad`, `RepeaterFooter`, `RepeaterHeader`, `RepeaterItem`

## Field Summary

`protected static final `Debug`` | `debug` Debug

Fields from com.bea.wlw.netui.tags.databinding.base`.`StructuredBaseTag``
`EMPTY_STRING`

Fields from com.bea.wlw.netui.tags`.`AbstractBaseTag``
``ATTR_GENERAL`, `ATTR_GENERAL_EXPRESSION`, `ATTR_JAVASCRIPT`, `ATTR_STYLE`, `CLASS`, `ID`, `JAVASCRIPT_STATUS`, `NAME`, `NETUI_UNIQUE_CNT`, `ONCLICK`, `ONDBLCLICK`, `ONKEYDOWN`, `ONKEYPRESS`, `ONKEYUP`, `ONMOUSEDOWN`, `ONMOUSEMOVE`, `ONMOUSEOUT`, `ONMOUSEOVER`, `ONMOUSEUP`, `STYLE`, `TABINDEX``

Fields from javax.servlet.jsp.tagext`.`BodyTagSupport``
`bodyContent`

Fields from javax.servlet.jsp.tagext`.`TagSupport``
`id, pageContext`

Fields from interface javax.servlet.jsp.tagext`.`BodyTag``
`EVAL_BODY_BUFFERED, EVAL_BODY_TAG`

Fields from interface javax.servlet.jsp.tagext`.`IterationTag``
`EVAL_BODY_AGAIN`

Fields from interface javax.servlet.jsp.tagext`.`Tag``
`EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE`

## Constructor Summary

RepeaterComponent()

## Method Summary

`public int` | `doAfterBody`() Default implementation of this JSP lifecycle method.
`protected int` | `getCurrentRenderState`() Get the render state of the nearest structured tag.
`protected final `Repeater`` | `getRepeater`() Get the `Repeater``` parent of this tag.
`protected `Class`` | `getValidContainerType`() Default implementation of StructuredBaseTag.getValidContainerType()`` that enforces that the parent of this tag is the `Repeater``` tag.
`protected void` | `localRelease`() Reset all of the fields of this tag.
`protected void` | `prepare`() Prepare data that is provided to subclasses of this tag.
`protected int` | `renderEndTag`(int state) Default implementation of StructuredBaseTag.renderEndTag(int)``.

Methods from `com.bea.wlw.netui.tags.databinding.base.`StructuredBaseTag``
`addContent, doEndTag, doStartTag, getContent, renderStartTag, verifyAttributes, verifyStructure`

Methods from `com.bea.wlw.netui.tags.`AbstractBaseTag``
``addTagIdMapping`, `evaluateAttributeToString`, `filter`, `filter`, `getJavaScriptUtils`, `getNearestForm`, `getScriptReporter`, `getTagName`, `getUserLocale`, `localRelease`, `registerTagError`, `release`, `renderAttribute`, `rewriteName`, `write``

Methods from `javax.servlet.jsp.tagext.`BodyTagSupport``
`doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent`

Methods from `javax.servlet.jsp.tagext.`TagSupport``
`doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue`

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods from interface `javax.servlet.jsp.tagext.`BodyTag``
`doInitBody, setBodyContent`

Methods from interface `javax.servlet.jsp.tagext.`IterationTag``
`doAfterBody`

Methods from interface `javax.servlet.jsp.tagext.`Tag``
`doEndTag, doStartTag, getParent, release, setPageContext, setParent`

## Field Detail

### debug

    protected static final Debug debug

## Constructor Detail

### RepeaterComponent

    public RepeaterComponent()

## Method Detail

### doAfterBody() Method

    public int doAfterBody()
         throws JspException

Default implementation of this JSP lifecycle method.

Overrides
  `BodyTagSupport.doAfterBody()`

#### Returns

SKIP_BODY

#### Exceptions

``JspException``

### getCurrentRenderState() Method

    protected int getCurrentRenderState()

Get the render state of the nearest structured tag. For subclasses of this tag, the nearest structured tag is the `Repeater``` tag.

Overrides
  StructuredBaseTag.getCurrentRenderState()

#### Returns

the current render state of the Repeater

### getRepeater() Method

    protected final Repeater getRepeater()

Get the `Repeater``` parent of this tag.

#### Returns

the `Repeater``` parent of this tag

### getValidContainerType() Method

    protected Class getValidContainerType()

Default implementation of StructuredBaseTag.getValidContainerType()`` that enforces that the parent of this tag is the `Repeater``` tag. Subclasses may override this method to further specialize the required container type.

Overrides
  StructuredBaseTag.getValidContainerType()

#### Returns

the valid container type of a RepeaterComponent; the Repeater.class

### localRelease() Method

    protected void localRelease()

Reset all of the fields of this tag.

Overrides
  StructuredBaseTag.localRelease()

### prepare() Method

    protected void prepare()

Prepare data that is provided to subclasses of this tag.

Overrides
  StructuredBaseTag.prepare()

### renderEndTag(int) Method

    protected int renderEndTag(int state)
         throws JspException

Default implementation of StructuredBaseTag.renderEndTag(int)``. This returns EVAL_PAGE.

Overrides
  StructuredBaseTag.renderEndTag(int)

#### Parameters

state
  the current render state of the Repeater

#### Returns

EVAL_PAGE

#### Exceptions

``JspException``
  if an error occurs that can not be reported in the page