org.apache.ibatis.ognl
Class EnumerationElementsAccessor

java.lang.Object
  extended by org.apache.ibatis.ognl.EnumerationElementsAccessor
All Implemented Interfaces:
ElementsAccessor

public class EnumerationElementsAccessor
extends java.lang.Object
implements ElementsAccessor

Implementation of the ElementsAccessor interface for Enumerations, which returns an iterator that passes its calls through to the target Enumeration.

Author:
Luke Blanshard ([email protected]), Drew Davidson ([email protected])

Constructor Summary
EnumerationElementsAccessor()
           
 
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

EnumerationElementsAccessor

public EnumerationElementsAccessor()
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 © 2010 MyBatis.org. All Rights Reserved.