org.apache.naming

Class NamingContextEnumeration

Implemented Interfaces:
NamingEnumeration

public class NamingContextEnumeration
extends java.lang.Object
implements NamingEnumeration

Naming enumeration implementation.

Version:
$Revision: 1.3 $ $Date: 2004/02/27 14:58:53 $

Author:
Remy Maucherat

Field Summary

protected Enumeration
enum
Underlying enumeration.

Constructor Summary

NamingContextEnumeration(Enumeration enum)
NamingContextEnumeration(Vector entries)

Method Summary

void
close()
Closes this enumeration.
boolean
hasMore()
Determines whether there are any more elements in the enumeration.
boolean
hasMoreElements()
Object
next()
Retrieves the next element in the enumeration.
Object
nextElement()

Field Details

enum

protected Enumeration enum
Underlying enumeration.

Constructor Details

NamingContextEnumeration

public NamingContextEnumeration(Enumeration enum)


NamingContextEnumeration

public NamingContextEnumeration(Vector entries)

Method Details

close

public void close()
            throws NamingException
Closes this enumeration.


hasMore

public boolean hasMore()
            throws NamingException
Determines whether there are any more elements in the enumeration.


hasMoreElements

public boolean hasMoreElements()


next

public Object next()
            throws NamingException
Retrieves the next element in the enumeration.


nextElement

public Object nextElement()


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.