com.cc.framework.taglib.forms
Interface ForEachTag.ForEachIterator

All Known Implementing Classes:
ForEachTag.FEIterator, ForEachTag.FEMapIterator, ForEachTag.FEOptionIterator
Enclosing interface:
ForEachTag

protected static interface ForEachTag.ForEachIterator

Iterator for the collection the tag should iterate through

Author:
Harald Schulz

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
 

Method Detail

isDone

public boolean isDone()
Returns:
true when the iterator has reached its end

next

public void next()
proceed to the next iteration element


getIndex

public java.lang.Object getIndex()
Returns:
the current iteration index

getPropertyAccessor

public java.lang.String getPropertyAccessor(java.lang.String propertyName)
Creates the property name that should be used to access the bean with the BeanUtils framework.

Parameters:
propertyName - the raw property name
Returns:
property accessor

getBean

public java.lang.Object getBean()
Returns:
the current iteration element


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.