Package org.apache.commons.ognl
Class CollectionElementsAccessor
java.lang.Object
org.apache.commons.ognl.CollectionElementsAccessor
- All Implemented Interfaces:
ElementsAccessor
Implementation of ElementsAccessor that returns a collection's iterator.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEnumeration<?> getElements(Object target) Returns an iterator over the elements of the given target object.
-
Constructor Details
-
CollectionElementsAccessor
public CollectionElementsAccessor()
-
-
Method Details
-
getElements
Returns an iterator over the elements of the given target object.- Specified by:
getElementsin interfaceElementsAccessor- Parameters:
target- the object to get the elements of- Returns:
- an iterator over the elements of the given object
-