org.apache.commons.ognl
Class MapElementsAccessor

java.lang.Object
  extended by org.apache.commons.ognl.MapElementsAccessor
All Implemented Interfaces:
ElementsAccessor

public class MapElementsAccessor
extends Object
implements ElementsAccessor

Implementation of ElementsAccessor that returns an iterator over the map's values.

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

Constructor Summary
MapElementsAccessor()
           
 
Method Summary
 Enumeration<?> getElements(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

MapElementsAccessor

public MapElementsAccessor()
Method Detail

getElements

public Enumeration<?> getElements(Object target)
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 © 1997-2013 The Apache Software Foundation. All Rights Reserved.