org.apache.ibatis.ognl
Class ObjectElementsAccessor

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

public class ObjectElementsAccessor
extends Object
implements ElementsAccessor

Implementation of ElementsAccessor that returns a single-element iterator, containing the original target object.

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

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

ObjectElementsAccessor

public ObjectElementsAccessor()
Method Detail

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


Copyright © 2010. All Rights Reserved.