com.bea.p13n.servlets.jsp
Class BodyTagSupport

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by com.bea.p13n.servlets.jsp.BodyTagSupport
All Implemented Interfaces
Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
DivTag

public class BodyTagSupport
extends javax.servlet.jsp.tagext.BodyTagSupport

A helper class for P13N JSP custom tags with body.

See Also
Serialized Form

Field Summary
 
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
BodyTagSupport()
           
 
Method Summary
protected  AdviceRequest createAdviceRequest(String uri, String identifier)
          Creates a new AdviceRequest.
protected  Advisor createAdvisor()
          Creates an Advisor EJB instance.
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, 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

BodyTagSupport

public BodyTagSupport()
Method Detail

createAdvisor

protected Advisor createAdvisor()
                         throws JspException
Creates an Advisor EJB instance.

Returns
An Advisor
Throws
JspException - if an error occurrs during creation of an Advisor.
See Also
Advisor

createAdviceRequest

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.
Throws
JspException - if an error occurrs during creation of an AdviceRequest.
See Also
AdviceRequest


Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.