public abstract class BaseValueProducingTag extends javax.servlet.jsp.tagext.TagSupport implements ValueProducingTagIF
Note: Not all value producing tags are manipulating collections, so this is not the base class of all value producing tags. Exceptions are StringTag and ClassesTag.
Modifier and Type | Field and Description |
---|---|
protected String |
variableName |
Constructor and Description |
---|
BaseValueProducingTag() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag()
Processes the end tag.
|
int |
doStartTag()
Process the start tag for this instance.
|
protected Collection |
getInputCollection(ContextManagerIF ctxtMgr)
INTERNAL: return collection to work with, throw
NavigatorRuntimeException if collection is null. |
void |
release()
Resets the state of the Tag.
|
void |
setOf(String variableName) |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
process
protected String variableName
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
protected Collection getInputCollection(ContextManagerIF ctxtMgr) throws NavigatorRuntimeException
NavigatorRuntimeException
if collection is null.NavigatorRuntimeException
public void setOf(String variableName)