Package ognl
Class ObjectElementsAccessor
java.lang.Object
ognl.ObjectElementsAccessor
- All Implemented Interfaces:
ElementsAccessor
Implementation of ElementsAccessor that returns a single-element iterator, containing
the original target object.
- Author:
- Luke Blanshard (blanshlu@netscape.net), Drew Davidson (drew@ognl.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetElements
(Object target) Returns an iterator over the elements of the given target object.
-
Constructor Details
-
ObjectElementsAccessor
public ObjectElementsAccessor()
-
-
Method Details
-
getElements
Description copied from interface:ElementsAccessor
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
-