|
|||||||||
| Home >> All >> com >> aendvari >> tethys >> tag >> [ logic overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.aendvari.tethys.tag.logic
Class IterateTag

java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.aendvari.tethys.tag.data.DataBodyTag
com.aendvari.tethys.tag.context.ContextBodyTag
com.aendvari.tethys.tag.model.ModelTreeBodyTag
com.aendvari.tethys.tag.logic.IterateTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, com.aendvari.tethys.tag.context.ContextAncestorTag, com.aendvari.tethys.tag.data.DataAncestorTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, com.aendvari.tethys.tag.model.ModelTreeAncestorTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class IterateTag
- extends com.aendvari.tethys.tag.model.ModelTreeBodyTag
Implementation class for the "iterate" tag.
| Field Summary | |
static java.lang.String |
DefaultIndexName
the default name to retrieve the index by |
private java.lang.String |
indexName
the name to retrieve the index by |
private java.util.Iterator |
iterator
the iterator to use for the items |
private com.aendvari.tethys.context.model.ModelContext |
iteratorContext
the iteration context |
private int |
iteratorIndex
the iteration index |
| Fields inherited from class com.aendvari.tethys.tag.model.ModelTreeBodyTag |
modelContext, modelContextMethod, path |
| Fields inherited from class com.aendvari.tethys.tag.context.ContextBodyTag |
context |
| Fields inherited from class com.aendvari.tethys.tag.data.DataBodyTag |
dataScope, name |
| 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 | |
IterateTag()
|
|
| Method Summary | |
int |
doAfterBody()
After the body evaluation: do not reevaluate and continue with the page. |
int |
doEndTag()
Clean up after processing this enumeration. |
int |
doStartTag()
Default processing of the start tag returning EVAL_BODY_BUFFERED. |
java.lang.String |
getIndexName()
|
java.lang.Integer |
getIteratorIndex()
|
com.aendvari.tethys.context.model.ModelContext |
getModelContext()
Returns the iterator context as this tag's context, to provide context changes to sub-tags. |
void |
release()
Release all allocated resources. |
void |
setIndexName(java.lang.String setIndexName)
|
private void |
setNextNode()
|
| Methods inherited from class com.aendvari.tethys.tag.model.ModelTreeBodyTag |
establishModelContext, getModelNode, getParentModelContext, getPath, setPath |
| Methods inherited from class com.aendvari.tethys.tag.context.ContextBodyTag |
determineContext, getContext, getParentContext, setContext |
| Methods inherited from class com.aendvari.tethys.tag.data.DataBodyTag |
getDataScope, getName, setDataScope, setName |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doInitBody, getBodyContent, getPreviousOut, 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 |
DefaultIndexName
public static final java.lang.String DefaultIndexName
- the default name to retrieve the index by
- See Also:
- Constant Field Values
iterator
private java.util.Iterator iterator
- the iterator to use for the items
indexName
private java.lang.String indexName
- the name to retrieve the index by
iteratorIndex
private int iteratorIndex
- the iteration index
iteratorContext
private com.aendvari.tethys.context.model.ModelContext iteratorContext
- the iteration context
| Constructor Detail |
IterateTag
public IterateTag()
| Method Detail |
getIteratorIndex
public java.lang.Integer getIteratorIndex()
getIndexName
public java.lang.String getIndexName()
setIndexName
public void setIndexName(java.lang.String setIndexName)
getModelContext
public com.aendvari.tethys.context.model.ModelContext getModelContext()
- Returns the iterator context as this tag's context, to provide
context changes to sub-tags.
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspTagException
- Description copied from class:
javax.servlet.jsp.tagext.BodyTagSupport - Default processing of the start tag returning EVAL_BODY_BUFFERED.
doAfterBody
public int doAfterBody()
throws javax.servlet.jsp.JspException
- Description copied from class:
javax.servlet.jsp.tagext.BodyTagSupport - After the body evaluation: do not reevaluate and continue with the page.
By default nothing is done with the bodyContent data (if any).
setNextNode
private void setNextNode()
throws javax.servlet.jsp.JspException
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Clean up after processing this enumeration.
release
public void release()
- Release all allocated resources.
|
|||||||||
| Home >> All >> com >> aendvari >> tethys >> tag >> [ logic overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC