org.exolab.castor.xml.util

Class XCDEnumerator

Implemented Interfaces:
ClassDescriptorEnumeration

(package private) 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

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.

Constructor Details

XCDEnumerator

(package private)  XCDEnumerator()
Creates an XCDEnumerator

Method Details

add

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

getNext

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

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.

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