Class AbstractListItemsTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.jstl.core.LoopTagSupport
-
- org.apache.taglibs.standard.tag.common.core.ForEachSupport
-
- org.apache.taglibs.standard.tag.rt.core.ForEachTag
-
- org.silverpeas.core.web.util.viewgenerator.html.list.AbstractListItemsTag
-
- All Implemented Interfaces:
Serializable
,javax.servlet.jsp.jstl.core.LoopTag
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
,javax.servlet.jsp.tagext.TryCatchFinally
- Direct Known Subclasses:
AccumulativeListItemsTag
,ListItemsTag
public abstract class AbstractListItemsTag extends org.apache.taglibs.standard.tag.rt.core.ForEachTag
Centralizing code about iterating over items.If an instance of
SilverpeasList
is given, optimizations are offered- Author:
- silveryocha
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractListItemsTag()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract <T extends AbstractListPaneTag>
TgetListPane()
protected abstract <T> SilverpeasList<T>
optimize(List<T> list)
void
setItems(Object items)
-
Methods inherited from class org.apache.taglibs.standard.tag.rt.core.ForEachTag
setBegin, setEnd, setStep
-
Methods inherited from class org.apache.taglibs.standard.tag.common.core.ForEachSupport
hasNext, next, prepare, release, supportedTypeForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator
-
Methods inherited from class javax.servlet.jsp.jstl.core.LoopTagSupport
doAfterBody, doCatch, doFinally, doStartTag, getCurrent, getDelims, getLoopStatus, setVar, setVarStatus, validateBegin, validateEnd, validateStep
-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
-
-
-
Method Detail
-
setItems
public void setItems(Object items) throws javax.servlet.jsp.JspTagException
- Overrides:
setItems
in classorg.apache.taglibs.standard.tag.rt.core.ForEachTag
- Throws:
javax.servlet.jsp.JspTagException
-
optimize
protected abstract <T> SilverpeasList<T> optimize(List<T> list)
-
getListPane
protected abstract <T extends AbstractListPaneTag> T getListPane()
-
-