pt.moredata.taglibs.widgets
Class CheckboxTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
pt.moredata.taglibs.widgets.CheckboxTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally
- public class CheckboxTag
- extends javax.servlet.jsp.tagext.BodyTagSupport
- implements javax.servlet.jsp.tagext.TryCatchFinally
CheckboxTag.java
Company MoreData
- Version:
- $Revision: 1.2 $
- Author:
- aricardo
- See Also:
- Serialized Form
| 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 |
|
Method Summary |
void |
doCatch(java.lang.Throwable t)
Invoked if a Throwable occurs while evaluating the BODY inside a tag or
in any of the following methods: Tag.doStartTag(), Tag.doEndTag(),
IterationTag.doAfterBody() and BodyTag.doInitBody().
|
int |
doEndTag()
|
void |
doFinally()
Invoked in all cases after doEndTag() for any class implementing Tag,
IterationTag or BodyTag. |
int |
doStartTag()
|
java.lang.String |
getAtributos()
|
java.lang.String |
getNome()
|
java.lang.String |
getValor()
|
void |
setAtributos(java.lang.String a)
Setter for property atributos. |
void |
setNome(java.lang.String n)
Setter for property nome. |
void |
setValor(java.lang.String v)
Setter for property valor. |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doInitBody, 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 |
CheckboxTag
public CheckboxTag()
setNome
public void setNome(java.lang.String n)
- Setter for property nome.
- Parameters:
n - New value of property nome.
getNome
public java.lang.String getNome()
setValor
public void setValor(java.lang.String v)
- Setter for property valor.
- Parameters:
v - New value of property valor.
getValor
public java.lang.String getValor()
setAtributos
public void setAtributos(java.lang.String a)
- Setter for property atributos.
- Parameters:
a - New value of property atributos.
getAtributos
public java.lang.String getAtributos()
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
- Throws:
javax.servlet.jsp.JspException
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
- Throws:
javax.servlet.jsp.JspException
doCatch
public void doCatch(java.lang.Throwable t)
throws java.lang.Throwable
- Invoked if a Throwable occurs while evaluating the BODY inside a tag or
in any of the following methods: Tag.doStartTag(), Tag.doEndTag(),
IterationTag.doAfterBody() and BodyTag.doInitBody().
This method is not invoked if the Throwable occurs during one of the
setter methods.
This method may throw an exception (the same or a new one) that will
be propagated further up the nest chain. If an exception is thrown,
doFinally() will be invoked.
This method is intended to be used to respond to an exceptional condition.
- Specified by:
doCatch in interface javax.servlet.jsp.tagext.TryCatchFinally
- Parameters:
t - - The throwable exception navigating through this tag.
- Throws:
java.lang.Throwable - - if the exception is to be rethrown further
up the nest chain.
doFinally
public void doFinally()
- Invoked in all cases after doEndTag() for any class implementing Tag,
IterationTag or BodyTag. This method is invoked even if an exception
has occurred in the BODY of the tag, or in any of the following methods:
Tag.doStartTag(), Tag.doEndTag(), IterationTag.doAfterBody() and
BodyTag.doInitBody().
This method is not invoked if the Throwable occurs during one of the
setter methods.
This method should not throw an Exception.
This method is intended to maintain per-invocation data integrity and
resource management actions.
- Specified by:
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinally