Uses of Interface javax.naming.directory.Attribute (Java Platform SE 8 )
Date: 2018-07-01

## Uses of Interface
javax.naming.directory.Attribute

- Packages that use Attribute
  Package | Description
  --- | ---
  javax.naming.directory | Extends the `javax.naming` package to provide functionality for accessing directory services.

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

    Classes in javax.naming.directory that implement Attribute
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BasicAttribute` This class provides a basic implementation of the `Attribute` interface.

    Methods in javax.naming.directory that return Attribute
    Modifier and Type | Method and Description
    --- | ---
    `Attribute` | BasicAttributes.`get(String attrID)`
    `Attribute` | Attributes.`get(String attrID)` Retrieves the attribute with the given attribute id from the attribute set.
    `Attribute` | ModificationItem.`getAttribute()` Retrieves the attribute associated with this modification item.
    `Attribute` | BasicAttributes.`put(Attribute attr)`
    `Attribute` | Attributes.`put(Attribute attr)` Adds a new attribute to the attribute set.
    `Attribute` | BasicAttributes.`put(String attrID, Object val)`
    `Attribute` | Attributes.`put(String attrID, Object val)` Adds a new attribute to the attribute set.
    `Attribute` | BasicAttributes.`remove(String attrID)`
    `Attribute` | Attributes.`remove(String attrID)` Removes the attribute with the attribute id 'attrID' from the attribute set.

    Methods in javax.naming.directory that return types with arguments of type Attribute
    Modifier and Type | Method and Description
    --- | ---
    `NamingEnumeration<Attribute>` | BasicAttributes.`getAll()`
    `NamingEnumeration<? extends Attribute>` | Attributes.`getAll()` Retrieves an enumeration of the attributes in the attribute set.

    Methods in javax.naming.directory with parameters of type Attribute
    Modifier and Type | Method and Description
    --- | ---
    `Attribute` | BasicAttributes.`put(Attribute attr)`
    `Attribute` | Attributes.`put(Attribute attr)` Adds a new attribute to the attribute set.

    Constructors in javax.naming.directory with parameters of type Attribute
    Constructor and Description
    `ModificationItem(int mod_op, Attribute attr)` Creates a new instance of ModificationItem.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.