org.exolab.castor.xml.util

Class XCDEnumerator

class XCDEnumerator extends 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
classXCDEnumerator.Entry
Constructor Summary
XCDEnumerator()
Creates an XCDEnumerator
Method Summary
protected voidadd(XMLClassDescriptor classDesc)
Adds the given XMLClassDescriptor to this XCDEnumerator
XMLClassDescriptorgetNext()
Returns the next XMLClassDescriptor in this enumeration.
booleanhasNext()
Returns true if there are more XMLClassDescriptors available.

Constructor Detail

XCDEnumerator

XCDEnumerator()
Creates an XCDEnumerator

Method Detail

add

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

getNext

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

Returns: the next XMLClassDescriptor in this enumeration.

hasNext

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

Returns: true if more XMLClassDescriptors exist within this enumeration.

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