ognl
Class CollectionElementsAccessor

java.lang.Object
  extended byognl.CollectionElementsAccessor
All Implemented Interfaces:
ElementsAccessor

public class CollectionElementsAccessor
extends java.lang.Object
implements ElementsAccessor

Implementation of ElementsAccessor that returns a collection's iterator.

Author:
Luke Blanshard (blanshlu@netscape.net), Drew Davidson (drew@ognl.org)

Constructor Summary
CollectionElementsAccessor()
           
 
Method Summary
 java.util.Enumeration getElements(java.lang.Object target)
          Returns an iterator over the elements of the given target object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionElementsAccessor

public CollectionElementsAccessor()
Method Detail

getElements

public java.util.Enumeration getElements(java.lang.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


Copyright © 2004 OGNL Technology, Inc.. All Rights Reserved.