org.exolab.castor.xml.util
Class XCDEnumerator

java.lang.Object
  extended byorg.exolab.castor.xml.util.XCDEnumerator
All Implemented Interfaces:
ClassDescriptorEnumeration

class XCDEnumerator
extends java.lang.Object
implements ClassDescriptorEnumeration

A locally used implementation of ClassDescriptorEnumeration

Version:
$Revision: 1.2 $ $Date: 2003/03/19 08:13:28 $
Author:
Keith Visco

Nested Class Summary
(package private)  class XCDEnumerator.Entry
           
 
Constructor Summary
(package private) XCDEnumerator()
          Creates an XCDEnumerator
 
Method Summary
protected  void add(XMLClassDescriptor classDesc)
          Adds the given XMLClassDescriptor to this XCDEnumerator
 XMLClassDescriptor getNext()
          Returns the next XMLClassDescriptor in this enumeration.
 boolean hasNext()
          Returns true if there are more XMLClassDescriptors available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XCDEnumerator

XCDEnumerator()
Creates an XCDEnumerator

Method Detail

add

protected void add(XMLClassDescriptor classDesc)
Adds the given XMLClassDescriptor to this XCDEnumerator


hasNext

public boolean hasNext()
Returns true if there are more XMLClassDescriptors available.

Specified by:
hasNext in interface ClassDescriptorEnumeration
Returns:
true if more XMLClassDescriptors exist within this enumeration.

getNext

public XMLClassDescriptor getNext()
Returns the next XMLClassDescriptor in this enumeration.

Specified by:
getNext in interface ClassDescriptorEnumeration
Returns:
the next XMLClassDescriptor in this enumeration.


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