javax.servlet.jsp.tagext
Class TagAdapter

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagAdapter
All Implemented Interfaces:
JspTag, Tag

public class TagAdapter
extends java.lang.Object
implements Tag

Adapts an object to the tag hierarchy.


Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
TagAdapter(SimpleTag adaptee)
          Creates a new adapter.
 
Method Summary
 int doEndTag()
          Stubbed.
 int doStartTag()
          Stubbed.
 JspTag getAdaptee()
          Returns the wrapped object.
 Tag getParent()
          Returns the parent tag.
 void release()
          Stubbed.
 void setPageContext(PageContext pc)
          Stubbed.
 void setParent(Tag parent)
          Stubbed.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TagAdapter

public TagAdapter(SimpleTag adaptee)
Creates a new adapter.

Method Detail

getAdaptee

public JspTag getAdaptee()
Returns the wrapped object.


getParent

public Tag getParent()
Returns the parent tag.

Specified by:
getParent in interface Tag

setPageContext

public void setPageContext(PageContext pc)
Stubbed.

Specified by:
setPageContext in interface Tag

setParent

public void setParent(Tag parent)
Stubbed.

Specified by:
setParent in interface Tag

doStartTag

public int doStartTag()
               throws JspException
Stubbed.

Specified by:
doStartTag in interface Tag
Returns:
SKIP_BODY to ignore the body and EVAL_BODY_INCLUDE to evaluate the body.
Throws:
JspException

doEndTag

public int doEndTag()
             throws JspException
Stubbed.

Specified by:
doEndTag in interface Tag
Returns:
SKIP_PAGE to skip the rest of the page and EVAL_PAGE to continue with the rest of the page.
Throws:
JspException

release

public void release()
Stubbed.

Specified by:
release in interface Tag

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object