org.exolab.castor.xml.descriptors
Class ListClassDescriptor.IteratorEnumerator

java.lang.Object
  extended by org.exolab.castor.xml.descriptors.ListClassDescriptor.IteratorEnumerator
All Implemented Interfaces:
java.util.Enumeration
Enclosing class:
ListClassDescriptor

static final class ListClassDescriptor.IteratorEnumerator
extends java.lang.Object
implements java.util.Enumeration

A simple Enumeration that wraps a JDK 1.2 Iterator


Constructor Summary
ListClassDescriptor.IteratorEnumerator(java.util.Iterator iterator)
           
 
Method Summary
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListClassDescriptor.IteratorEnumerator

ListClassDescriptor.IteratorEnumerator(java.util.Iterator iterator)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration


Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com