December 2000
Intermediate to advanced
574 pages
17h 3m
English
TagSupport
|
Class Name: |
javax.servlet.jsp.tagext.TagSupport |
|
Extends: |
None |
|
Implements: |
Tag, java.io.Serializable |
|
Implemented by: |
Internal container-dependent class. Most containers use the reference implementation of the class (developed in the Apache Jakarta project). |
TagSupport is a support class that provides
default implementations of all Tag interface
methods. It’s intended to be used as a superclass for tag
handlers that do not need access to the body contents of the
corresponding custom action element.
public class TagSupport implements Tag, java.io.Serializable {
// Constructor
public TagSupport( );
// Methods
public int doEndTag( ) throws JspException;
public int doStartTag( ) throws JspException;
public static final Tag findAncestorWithClass(Tag from, Class klass);
public String getId( );
public Tag getParent( );
public Object getValue(String k);
public java.util.Enumeration getValues( );
public void release( );
public void removeValue(String k);
public void setPageContext(PageContext pageContext);
public void setId(String id);
public void setParent(Tag t);
public void setValue(String k, Object o);
}public TagSupport( )
Creates a new instance with the specified name and value.
public int doEndTag( ) throws JspException
Returns EVAL_PAGE.
public int doStartTag( ) throws JspException
Returns SKIP_BODY.
public static final Tag findAncestorWithClass(Tag from, Class klass)
Returns the instance of the specified class, ...
Read now
Unlock full access