|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
pt.moredata.connection.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 DataSource |
_dataSource
DataSource criado pela tag CreateDataEntryTag. |
protected javax.servlet.http.HttpSession |
_session
Objecto de sessao. |
| 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 | |
AbstractIfTag()
|
|
| 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()
Processa o fim da tag. |
void |
doFinally()
Invoked in all cases after doEndTag() for any class implementing Tag, IterationTag or BodyTag. |
int |
doStartTag()
Processa o inicio da tag. |
protected abstract boolean |
includeBodyTag()
Verifica se o conteudo da tag devera ser incluido ou nao |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected DataSource _dataSource
protected javax.servlet.http.HttpSession _session
| Constructor Detail |
public AbstractIfTag()
| Method Detail |
protected abstract boolean includeBodyTag()
public int doStartTag()
throws javax.servlet.jsp.JspTagException
doStartTag in interface javax.servlet.jsp.tagext.Tagjavax.servlet.jsp.JspTagException
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.TryCatchFinally
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||