org.apache.struts.mock
Class MockEnumeration
java.lang.Object
org.apache.struts.mock.MockEnumeration
- All Implemented Interfaces:
- Enumeration
public class MockEnumeration
- extends Object
- implements Enumeration
General purpose Enumeration
wrapper around an
Iterator
specified to our controller.
- Version:
- $Rev: 471754 $ $Date: 2005-05-07 12:11:38 -0400 (Sat, 07 May 2005)
$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iterator
protected Iterator iterator
MockEnumeration
public MockEnumeration(Iterator iterator)
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface Enumeration
nextElement
public Object nextElement()
- Specified by:
nextElement
in interface Enumeration
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.