Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.naming
Class NamingContextEnumeration

    java.lang.Object
      |
      +--org.apache.naming.NamingContextEnumeration

All Implemented Interfaces:
  java.util.Enumeration, javax.naming.NamingEnumeration

public class NamingContextEnumeration
extends java.lang.Object
implements javax.naming.NamingEnumeration

Naming enumeration implementation.

Version:
  $Revision: 1.1 $ $Date: 2000/11/02 06:14:16 $
Author:
  Remy Maucherat

Field Summary
`protected java.util.Enumeration` | `enum` Underlying enumeration.

Constructor Summary
`NamingContextEnumeration(java.util.Enumeration enum)`
`NamingContextEnumeration(java.util.Vector entries)`

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

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### enum

    protected java.util.Enumeration enum

  Underlying enumeration.

Constructor Detail

### NamingContextEnumeration

    public NamingContextEnumeration(java.util.Vector entries)

### NamingContextEnumeration

    public NamingContextEnumeration(java.util.Enumeration enum)

Method Detail

### next

    public java.lang.Object next()
                          throws javax.naming.NamingException

  Retrieves the next element in the enumeration.
  Specified by:
    `next` in interface `javax.naming.NamingEnumeration`

### hasMore

    public boolean hasMore()
                    throws javax.naming.NamingException

  Determines whether there are any more elements in the enumeration.
  Specified by:
    `hasMore` in interface `javax.naming.NamingEnumeration`

### close

    public void close()
               throws javax.naming.NamingException

  Closes this enumeration.
  Specified by:
    `close` in interface `javax.naming.NamingEnumeration`

### 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`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2001 Apache Software Foundation. All Rights Reserved.