|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
net.ontopia.topicmaps.nav2.taglibs.output.BaseOutputProducingTag
public abstract class BaseOutputProducingTag
INTERNAL: Abstract super-class of an Output-Producing Tag.
Field Summary | |
---|---|
protected ContextTag |
contextTag
|
protected boolean |
escapeEntities
|
protected int |
numberOfElements
|
protected boolean |
suppressEmptyCollection
|
protected String |
variableName
|
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 | |
---|---|
|
BaseOutputProducingTag()
|
protected |
BaseOutputProducingTag(boolean escapeEntities,
boolean suppressEmptyCollection)
|
Method Summary | |
---|---|
int |
doEndTag()
|
int |
doStartTag()
Process the start tag for this instance. |
abstract void |
generateOutput(javax.servlet.jsp.JspWriter out,
Iterator iterator)
INTERNAL: Generate information extracted from the input collection provided access by specified iterator. |
protected int |
getCollectionSize()
INTERNAL: gets number of elements contained in processed input collection. |
protected void |
print2Writer(javax.servlet.jsp.JspWriter out,
String string)
INTERNAL: prints out string to specified JspWriter object with respect if the entities should be escaped. |
void |
release()
reset the state of the Tag. |
protected void |
setEscapeEntities(boolean escapeEntities)
|
void |
setOf(String variableName)
tag attribute for setting the variable name of the input collection common to all subclasses. |
protected void |
setSuppressEmptyCollection(boolean suppressEmptyCollection)
|
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, 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 |
Field Detail |
---|
protected ContextTag contextTag
protected int numberOfElements
protected boolean escapeEntities
protected boolean suppressEmptyCollection
protected String variableName
Constructor Detail |
---|
public BaseOutputProducingTag()
protected BaseOutputProducingTag(boolean escapeEntities, boolean suppressEmptyCollection)
Method Detail |
---|
protected final void setEscapeEntities(boolean escapeEntities)
protected final void setSuppressEmptyCollection(boolean suppressEmptyCollection)
public int doStartTag() throws javax.servlet.jsp.JspTagException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspTagException
public final int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
public abstract void generateOutput(javax.servlet.jsp.JspWriter out, Iterator iterator) throws javax.servlet.jsp.JspTagException, IOException
OutputProducingTagIF
JspWriter
object.
generateOutput
in interface OutputProducingTagIF
javax.servlet.jsp.JspTagException
IOException
protected final int getCollectionSize()
public final void setOf(String variableName)
protected final void print2Writer(javax.servlet.jsp.JspWriter out, String string) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |