Package org.apache.commons.ognl
Class CollectionElementsAccessor
- java.lang.Object
-
- org.apache.commons.ognl.CollectionElementsAccessor
-
- All Implemented Interfaces:
ElementsAccessor
public class CollectionElementsAccessor extends java.lang.Object implements ElementsAccessor
Implementation of ElementsAccessor that returns a collection's iterator.
-
-
Constructor Summary
Constructors Constructor Description CollectionElementsAccessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Enumeration<?>
getElements(java.lang.Object target)
Returns an iterator over the elements of the given target object.
-
-
-
Method Detail
-
getElements
public java.util.Enumeration<?> getElements(java.lang.Object target)
Returns an iterator over the elements of the given target object.- Specified by:
getElements
in interfaceElementsAccessor
- Parameters:
target
- the object to get the elements of- Returns:
- an iterator over the elements of the given object
-
-