|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport javax.servlet.jsp.tagext.BodyTagSupport org.dbforms.taglib.AbstractScriptHandlerTag org.dbforms.taglib.AbstractDbBaseHandlerTag org.dbforms.taglib.AbstractEmbeddedDataTag
public abstract class AbstractEmbeddedDataTag
DOCUMENT ME!
Field Summary |
---|
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 | |
---|---|
AbstractEmbeddedDataTag()
|
Method Summary | |
---|---|
void |
addElement(StaticData pair)
DOCUMENT ME! |
void |
doFinally()
DOCUMENT ME! |
int |
doStartTag()
DOCUMENT ME! |
protected abstract List |
fetchData(Connection con)
this method is implemented by subclasses in order to match the user's need for specific data. |
protected List |
formatEmbeddedResultRows(ResultSetVector rsv)
formatEmbeddedResultRows() formats a result set accornding to a eventually given format string. |
String |
getDbConnectionName()
DOCUMENT ME! |
String |
getDisableCache()
Insert the method's description here. |
IEscaper |
getEscaper()
DOCUMENT ME! |
String |
getFormatClass()
Returns the formatClass. |
String |
getName()
returns the unique name of the embedded data |
void |
setDbConnectionName(String name)
DOCUMENT ME! |
void |
setDisableCache(String newDisableCache)
Insert the method's description here. |
void |
setFormat(String format)
DOCUMENT ME! |
void |
setFormatClass(String formatClass)
Sets the formatClass. |
void |
setName(String name)
set the name of the embedded data. every embedded data entity on a jsp page has to have a unique name. this name is used for storing (caching) and retrieving data in Page-Scope. this is useful if a tag gets evaluated many times -> we do not want the queries etc. to be executed every time! |
protected boolean |
useCache()
DOCUMENT ME! |
Methods inherited from class org.dbforms.taglib.AbstractScriptHandlerTag |
---|
doCatch, getAccessKey, getConfig, getOnBlur, getOnChange, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getOnSelect, getStyle, getTabIndex, getTitle, prepareEventHandlers, prepareStyles, setAccessKey, setOnBlur, setOnChange, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnSelect, setStyle, setStyleClass, setTabIndex, setTitle |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
doAfterBody, doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, 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.TryCatchFinally |
---|
doCatch |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
---|
getParent, setPageContext |
Constructor Detail |
---|
public AbstractEmbeddedDataTag()
Method Detail |
---|
public void setDbConnectionName(String name)
name
- DOCUMENT ME!public String getDbConnectionName()
public void setDisableCache(String newDisableCache)
newDisableCache
- java.lang.Stringpublic String getDisableCache()
public IEscaper getEscaper()
getEscaper
in class AbstractDbBaseHandlerTag
public void setFormat(String format)
format
- DOCUMENT ME!public void setFormatClass(String formatClass)
formatClass
- The formatClass to setpublic String getFormatClass()
public void setName(String name)
name
- DOCUMENT ME!public String getName()
getName
in class AbstractDbBaseHandlerTag
public void doFinally()
doFinally
in interface javax.servlet.jsp.tagext.TryCatchFinally
doFinally
in class AbstractDbBaseHandlerTag
TryCatchFinally.doFinally()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
- DOCUMENT ME!
IllegalArgumentException
- DOCUMENT ME!protected abstract List fetchData(Connection con) throws SQLException
con
- DOCUMENT ME!
SQLException
public void addElement(StaticData pair)
addElement
in interface IStaticDataList
pair
- DOCUMENT ME!protected List formatEmbeddedResultRows(ResultSetVector rsv)
rsv
- result set vector to be formatted
protected boolean useCache()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |