org.apache.ibatis.ognl
Class NumberElementsAccessor

java.lang.Object
  extended by org.apache.ibatis.ognl.NumberElementsAccessor
All Implemented Interfaces:
ElementsAccessor, NumericTypes

public class NumberElementsAccessor
extends java.lang.Object
implements ElementsAccessor, NumericTypes

Implementation of ElementsAccessor that returns an iterator over integers from 0 up to the given target.

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

Field Summary
 
Fields inherited from interface org.apache.ibatis.ognl.NumericTypes
BIGDEC, BIGINT, BOOL, BYTE, CHAR, DOUBLE, FLOAT, INT, LONG, MIN_REAL_TYPE, NONNUMERIC, SHORT
 
Constructor Summary
NumberElementsAccessor()
           
 
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

NumberElementsAccessor

public NumberElementsAccessor()
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. All Rights Reserved.