Package org.apache.commons.ognl
Class EnumerationElementsAccessor
java.lang.Object
org.apache.commons.ognl.EnumerationElementsAccessor
- All Implemented Interfaces:
ElementsAccessor
Implementation of the ElementsAccessor interface for Enumerations, which returns an iterator that passes its calls
through to the target Enumeration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEnumeration<?>
getElements
(Object target) Returns an iterator over the elements of the given target object.
-
Constructor Details
-
EnumerationElementsAccessor
public EnumerationElementsAccessor()
-
-
Method Details
-
getElements
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
-