|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.taglib.forms.ForEachTag.FEOptionIterator
Iterator for OptionList data models
Field Summary | |
private int |
index
|
private OptionListDataModel |
options
|
Constructor Summary | |
ForEachTag.FEOptionIterator(OptionListDataModel options)
Constructor |
Method Summary | |
java.lang.Object |
getBean()
|
java.lang.Object |
getIndex()
|
java.lang.String |
getPropertyAccessor(java.lang.String propertyName)
Creates the property name that should be used to access the bean with the BeanUtils framework. |
boolean |
isDone()
|
void |
next()
proceed to the next iteration element |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private OptionListDataModel options
private int index
Constructor Detail |
public ForEachTag.FEOptionIterator(OptionListDataModel options)
options
- the underlying data modelMethod Detail |
public java.lang.Object getBean()
getBean
in interface ForEachTag.ForEachIterator
ForEachTag.ForEachIterator.getBean()
public java.lang.Object getIndex()
getIndex
in interface ForEachTag.ForEachIterator
ForEachTag.ForEachIterator.getIndex()
public java.lang.String getPropertyAccessor(java.lang.String propertyName)
ForEachTag.ForEachIterator
getPropertyAccessor
in interface ForEachTag.ForEachIterator
propertyName
- the raw property name
ForEachTag.ForEachIterator.getPropertyAccessor(java.lang.String)
public boolean isDone()
isDone
in interface ForEachTag.ForEachIterator
true
when the iterator has reached its endForEachTag.ForEachIterator.isDone()
public void next()
ForEachTag.ForEachIterator
next
in interface ForEachTag.ForEachIterator
ForEachTag.ForEachIterator.next()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |