org.mmbase.bridge.jsp.taglib
Interface ListProvider
- All Superinterfaces:
- ContextProvider, JspTag, LoopTag, Tag, TagIdentifier
- All Known Subinterfaces:
- TreeProvider
- All Known Implementing Classes:
- AbstractNodeListTag, AbstractTreeReferrerListTag, AliasListTag, FieldListTag, GrowTag, ListFunctionTag, ListNodesTag, ListRelationsTag, ListTag, NodeListFunctionTag, NodeListHelper, QueryNextBatchesTag, QueryPreviousBatchesTag, RelatedNodesTag, RelatedTag, ShrinkTag, StringListTag, TreeTag, UnRelatedNodesTag
public interface ListProvider
- extends ContextProvider, LoopTag
Basic interface that parent should implement if they provide Lists.
For example the several NodeListTag's provide a List.
- Version:
- $Id: ListProvider.java 35335 2009-05-21 08:14:41Z michiel $
- Author:
- Michiel Meeuwissen
size
int size()
- Returns:
- the size of the list
getIndex
int getIndex()
- Returns:
- the index of the current item in a list
getIndexOffset
int getIndexOffset()
- Returns:
- The offset of the index (normally this will return 1)
- Since:
- MMBase-1.7
getCurrent
Object getCurrent()
- Specified by:
getCurrent in interface LoopTag
- Returns:
- the current item in a list
isChanged
boolean isChanged()
- Returns:
- a boolean indicating wether the field on which was
sorted is changed.
remove
void remove()
- Removes the current item from the list.
- Since:
- MMBase-1.7
setAdd
void setAdd(String c)
throws JspTagException
- Throws:
JspTagException- Since:
- MMBase-1.9
setRetain
void setRetain(String c)
throws JspTagException
- Throws:
JspTagException- Since:
- MMBase-1.9
setRemove
void setRemove(String c)
throws JspTagException
- Throws:
JspTagException- Since:
- MMBase-1.9
MMBase 2.0-SNAPSHOT - null