|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
pt.moredata.dataentry.taglibs.AbstractIfTag
AbstractIfTag.java Implementacao abstracta de uma tag que implementa um IF. A verificacao da condicao do if devera estar implementada numa subclasse. Company MoreData
| Field Summary | |
protected DataEntry |
_dataEntry
Entrada de dados. |
protected javax.servlet.jsp.JspWriter |
_out
Output writer. |
protected javax.servlet.http.HttpSession |
_session
Objecto de sessao. |
| 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 | |
AbstractIfTag()
|
|
| Method Summary | |
int |
doAfterBody()
Metodo executado em cada iteracao depois de se ter processado o conteudo da tag. |
protected void |
doBeforeStartTag()
Codigo executado antes do codigo do metodo doStartTag(). |
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()
Processa o fim da tag. |
void |
doFinally()
Invoked in all cases after doEndTag() for any class implementing Tag, IterationTag or BodyTag. |
void |
doInitBody()
Metodo executado em cada iteracao antes de processar o conteudo da tag. |
int |
doStartTag()
Processa o inicio da tag. |
protected abstract boolean |
includeBodyTag()
Verifica se o conteudo da tag devera ser incluido ou nao |
protected void |
init()
|
void |
setDataEntryId(java.lang.String dataEntryId)
Setter for property dataEntryId. |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
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 |
| Field Detail |
protected javax.servlet.http.HttpSession _session
protected javax.servlet.jsp.JspWriter _out
protected DataEntry _dataEntry
| Constructor Detail |
public AbstractIfTag()
| Method Detail |
protected abstract boolean includeBodyTag()
protected void doBeforeStartTag()
throws java.io.IOException
java.io.IOException
protected void init()
throws javax.servlet.jsp.JspTagException
javax.servlet.jsp.JspTagException
public int doStartTag()
throws javax.servlet.jsp.JspTagException
doStartTag in interface javax.servlet.jsp.tagext.Tagjavax.servlet.jsp.JspTagException
public void doInitBody()
throws javax.servlet.jsp.JspTagException
doInitBody in interface javax.servlet.jsp.tagext.BodyTagjavax.servlet.jsp.JspTagException - Caso ocorra algum erro a processar a tag.
public int doAfterBody()
throws javax.servlet.jsp.JspTagException
doAfterBody in interface javax.servlet.jsp.tagext.IterationTagjavax.servlet.jsp.JspTagException - Caso ocorra algum erro a processar a tag.
public int doEndTag()
throws javax.servlet.jsp.JspTagException
doEndTag in interface javax.servlet.jsp.tagext.Tagjavax.servlet.jsp.JspTagException
public void doCatch(java.lang.Throwable t)
throws java.lang.Throwable
doCatch in interface javax.servlet.jsp.tagext.TryCatchFinallyt - - The throwable exception navigating through this tag.
java.lang.Throwable - - if the exception is to be rethrown further
up the nest chain.public void doFinally()
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinallypublic void setDataEntryId(java.lang.String dataEntryId)
dataEntryId - New value of property dataEntryId.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||