|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
com.bea.web.tag.AbstractInputTagSupport
com.bea.web.tag.CheckBoxTagSupport
public class CheckBoxTagSupport
Provides the rendering logic for check box. No need to do validation on a check box...assumed the value is checked or not
Field Summary |
---|
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
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 | |
---|---|
CheckBoxTagSupport()
Default constructor, all subclasses of javax.servlet.jsp.tagext.TagSupport are required to only
define a public constructor with the same signature, and to call the
superclass constructor. |
Method Summary | |
---|---|
int |
doStartTag()
|
void |
release()
Resets the internal state of this instance. |
void |
setValue(String strValue)
|
Methods inherited from class com.bea.web.tag.AbstractInputTagSupport |
---|
getAttrs, getDefault, getMaxlength, getName, getSize, isRequired, printError, setAttrs, setDefault, setMaxlength, setName, setRequired, setSize |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, doEndTag, 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 |
Constructor Detail |
---|
public CheckBoxTagSupport()
javax.servlet.jsp.tagext.TagSupport
are required to only
define a public constructor with the same signature, and to call the
superclass constructor.
Method Detail |
---|
public final void setValue(String strValue)
public void release()
doStartTag
method. This is needed
because the tag handler will reuse this instance for every int tag on the
page.
release
in interface javax.servlet.jsp.tagext.Tag
release
in class AbstractInputTagSupport
public int doStartTag()
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |