## Uses of Interface
javax.naming.NamingEnumeration

- Packages that use NamingEnumeration
  Package | Description
  --- | ---
  javax.naming | Provides the classes and interfaces for accessing naming services.
  javax.naming.directory | Extends the `javax.naming` package to provide functionality for accessing directory services.

- - ### Uses of NamingEnumeration in javax.naming

    Methods in javax.naming that return NamingEnumeration
    Modifier and Type | Method | Description
    --- | --- | ---
    `NamingEnumeration<NameClassPair>` | Context.`list​(String name)` | Enumerates the names bound in the named context, along with the class names of objects bound to them.
    `NamingEnumeration<NameClassPair>` | Context.`list​(Name name)` | Enumerates the names bound in the named context, along with the class names of objects bound to them.
    `NamingEnumeration<NameClassPair>` | InitialContext.`list​(String name)` |
    `NamingEnumeration<NameClassPair>` | InitialContext.`list​(Name name)` |
    `NamingEnumeration<Binding>` | Context.`listBindings​(String name)` | Enumerates the names bound in the named context, along with the objects bound to them.
    `NamingEnumeration<Binding>` | Context.`listBindings​(Name name)` | Enumerates the names bound in the named context, along with the objects bound to them.
    `NamingEnumeration<Binding>` | InitialContext.`listBindings​(String name)` |
    `NamingEnumeration<Binding>` | InitialContext.`listBindings​(Name name)` |

  - ### Uses of NamingEnumeration in javax.naming.directory

    Methods in javax.naming.directory that return NamingEnumeration
    Modifier and Type | Method | Description
    --- | --- | ---
    `NamingEnumeration<?>` | Attribute.`getAll​()` | Retrieves an enumeration of the attribute's values.
    `NamingEnumeration<? extends Attribute>` | Attributes.`getAll​()` | Retrieves an enumeration of the attributes in the attribute set.
    `NamingEnumeration<?>` | BasicAttribute.`getAll​()` | Retrieves an enumeration of this attribute's values.
    `NamingEnumeration<Attribute>` | BasicAttributes.`getAll​()` |
    `NamingEnumeration<String>` | Attributes.`getIDs​()` | Retrieves an enumeration of the ids of the attributes in the attribute set.
    `NamingEnumeration<String>` | BasicAttributes.`getIDs​()` |
    `NamingEnumeration<SearchResult>` | DirContext.`search​(String name, String filterExpr, Object[] filterArgs, SearchControls cons)` | Searches in the named context or object for entries that satisfy the given search filter.
    `NamingEnumeration<SearchResult>` | DirContext.`search​(String name, String filter, SearchControls cons)` | Searches in the named context or object for entries that satisfy the given search filter.
    `NamingEnumeration<SearchResult>` | DirContext.`search​(String name, Attributes matchingAttributes)` | Searches in a single context for objects that contain a specified set of attributes.
    `NamingEnumeration<SearchResult>` | DirContext.`search​(String name, Attributes matchingAttributes, String[] attributesToReturn)` | Searches in a single context for objects that contain a specified set of attributes, and retrieves selected attributes.
    `NamingEnumeration<SearchResult>` | DirContext.`search​(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)` | Searches in the named context or object for entries that satisfy the given search filter.
    `NamingEnumeration<SearchResult>` | DirContext.`search​(Name name, String filter, SearchControls cons)` | Searches in the named context or object for entries that satisfy the given search filter.
    `NamingEnumeration<SearchResult>` | DirContext.`search​(Name name, Attributes matchingAttributes)` | Searches in a single context for objects that contain a specified set of attributes.
    `NamingEnumeration<SearchResult>` | DirContext.`search​(Name name, Attributes matchingAttributes, String[] attributesToReturn)` | Searches in a single context for objects that contain a specified set of attributes, and retrieves selected attributes.
    `NamingEnumeration<SearchResult>` | InitialDirContext.`search​(String name, String filterExpr, Object[] filterArgs, SearchControls cons)` |
    `NamingEnumeration<SearchResult>` | InitialDirContext.`search​(String name, String filter, SearchControls cons)` |
    `NamingEnumeration<SearchResult>` | InitialDirContext.`search​(String name, Attributes matchingAttributes)` |
    `NamingEnumeration<SearchResult>` | InitialDirContext.`search​(String name, Attributes matchingAttributes, String[] attributesToReturn)` |
    `NamingEnumeration<SearchResult>` | InitialDirContext.`search​(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)` |
    `NamingEnumeration<SearchResult>` | InitialDirContext.`search​(Name name, String filter, SearchControls cons)` |
    `NamingEnumeration<SearchResult>` | InitialDirContext.`search​(Name name, Attributes matchingAttributes)` |
    `NamingEnumeration<SearchResult>` | InitialDirContext.`search​(Name name, Attributes matchingAttributes, String[] attributesToReturn)` |