# com.bea.p13n.servlets.jsp
BodyTagSupport Class

public class BodyTagSupport
extends `BodyTagSupport`

A helper class for P13N JSP custom tags with body.

Hierarchy
  `Object`
  `TagSupport`
  `BodyTagSupport`
  `BodyTagSupport`

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

Direct Known Subclasses
  `DivTag`

## Field Summary

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

BodyTagSupport()

## Method Summary

`protected `AdviceRequest`` | `createAdviceRequest`(`String` uri, `String` identifier) Creates a new `AdviceRequest`.
`protected `Advisor`` | `createAdvisor`() Creates an `Advisor` EJB instance.

Methods from `javax.servlet.jsp.tagext.`BodyTagSupport``
`doAfterBody, 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`

## Constructor Detail

### BodyTagSupport

    public BodyTagSupport()

## Method Detail

### createAdviceRequest(String, String) Method

    protected AdviceRequest createAdviceRequest(String uri,
                                                String identifier)
         throws JspException

Creates a new `AdviceRequest`.

#### Parameters

uri
  the URI for the AdviceRequest - this will correspond to the URI prefix of a deployed Advislet.

identifier
  the identifier for this request to the Advisor.

#### Returns

a new `AdviceRequest` instance.

#### Exceptions

``JspException``
  if an error occurrs during creation of an `AdviceRequest`.

Related Topics

``AdviceRequest``

### createAdvisor() Method

    protected Advisor createAdvisor()
         throws JspException

Creates an `Advisor` EJB instance.

#### Returns

An Advisor

#### Exceptions

``JspException``
  if an error occurrs during creation of an `Advisor`.

Related Topics

``Advisor``