Package ognl

Class CollectionElementsAccessor

java.lang.Object
ognl.CollectionElementsAccessor
All Implemented Interfaces:
ElementsAccessor

public class CollectionElementsAccessor extends Object implements ElementsAccessor
Implementation of ElementsAccessor that returns a collection's iterator.
Author:
Luke Blanshard (blanshlu@netscape.net), Drew Davidson (drew@ognl.org)
  • Constructor Details

    • CollectionElementsAccessor

      public CollectionElementsAccessor()
  • Method Details

    • getElements

      public Enumeration getElements(Object target)
      Description copied from interface: ElementsAccessor
      Returns an iterator over the elements of the given target object.
      Specified by:
      getElements in interface ElementsAccessor
      Parameters:
      target - the object to get the elements of
      Returns:
      an iterator over the elements of the given object