Package javax.naming.directory

Interface Summary
Attribute sample code for javax.naming.directory.Attribute definition code for javax.naming.directory.Attribute This interface represents an attribute associated with a named object.
Attributes sample code for javax.naming.directory.Attributes definition code for javax.naming.directory.Attributes This interface represents a collection of attributes.
DirContext sample code for javax.naming.directory.DirContext definition code for javax.naming.directory.DirContext The directory service interface, containing methods for examining and updating attributes associated with objects, and for searching the directory.
 

Class Summary
BasicAttribute sample code for javax.naming.directory.BasicAttribute definition code for javax.naming.directory.BasicAttribute This class provides a basic implementation of the Attribute interface.
BasicAttributes sample code for javax.naming.directory.BasicAttributes definition code for javax.naming.directory.BasicAttributes This class provides a basic implementation of the Attributes interface.
InitialDirContext sample code for javax.naming.directory.InitialDirContext definition code for javax.naming.directory.InitialDirContext This class is the starting context for performing directory operations.
ModificationItem sample code for javax.naming.directory.ModificationItem definition code for javax.naming.directory.ModificationItem This class represents a modification item.
SearchControls sample code for javax.naming.directory.SearchControls definition code for javax.naming.directory.SearchControls This class encapsulates factors that determine scope of search and what gets returned as a result of the search.
SearchResult sample code for javax.naming.directory.SearchResult definition code for javax.naming.directory.SearchResult This class represents an item in the NamingEnumeration returned as a result of the DirContext.search() methods.
 

Exception Summary
AttributeInUseException sample code for javax.naming.directory.AttributeInUseException definition code for javax.naming.directory.AttributeInUseException This exception is thrown when an operation attempts to add an attribute that already exists.
AttributeModificationException sample code for javax.naming.directory.AttributeModificationException definition code for javax.naming.directory.AttributeModificationException This exception is thrown when an attempt is made to add, or remove, or modify an attribute, its identifier, or its values that conflicts with the attribute's (schema) definition or the attribute's state.
InvalidAttributeIdentifierException sample code for javax.naming.directory.InvalidAttributeIdentifierException definition code for javax.naming.directory.InvalidAttributeIdentifierException This exception is thrown when an attempt is made to add to create an attribute with an invalid attribute identifier.
InvalidAttributesException sample code for javax.naming.directory.InvalidAttributesException definition code for javax.naming.directory.InvalidAttributesException This exception is thrown when an attempt is made to add or modify an attribute set that has been specified incompletely or incorrectly.
InvalidAttributeValueException sample code for javax.naming.directory.InvalidAttributeValueException definition code for javax.naming.directory.InvalidAttributeValueException This class is thrown when an attempt is made to add to an attribute a value that conflicts with the attribute's schema definition.
InvalidSearchControlsException sample code for javax.naming.directory.InvalidSearchControlsException definition code for javax.naming.directory.InvalidSearchControlsException This exception is thrown when the specification of the SearchControls for a search operation is invalid.
InvalidSearchFilterException sample code for javax.naming.directory.InvalidSearchFilterException definition code for javax.naming.directory.InvalidSearchFilterException This exception is thrown when the specification of a search filter is invalid.
NoSuchAttributeException sample code for javax.naming.directory.NoSuchAttributeException definition code for javax.naming.directory.NoSuchAttributeException This exception is thrown when attempting to access an attribute that does not exist.
SchemaViolationException sample code for javax.naming.directory.SchemaViolationException definition code for javax.naming.directory.SchemaViolationException This exception is thrown when a method in some ways violates the schema.