Uses of Interface
javax.naming.directory.Attributes
-
Packages that use Attributes Package Description javax.naming.directory Extends thejavax.namingpackage to provide functionality for accessing directory services.javax.naming.ldap Provides support for LDAPv3 extended operations and controls.javax.naming.spi Provides the means for dynamically plugging in support for accessing naming and directory services through thejavax.namingand related packages. -
-
Uses of Attributes in javax.naming.directory
Classes in javax.naming.directory that implement Attributes Modifier and Type Class Description classBasicAttributesThis class provides a basic implementation of the Attributes interface.Methods in javax.naming.directory that return Attributes Modifier and Type Method Description AttributesDirContext. getAttributes(String name)Retrieves all of the attributes associated with a named object.AttributesDirContext. getAttributes(String name, String[] attrIds)Retrieves selected attributes associated with a named object.AttributesDirContext. getAttributes(Name name)Retrieves all of the attributes associated with a named object.AttributesDirContext. getAttributes(Name name, String[] attrIds)Retrieves selected attributes associated with a named object.AttributesSearchResult. getAttributes()Retrieves the attributes in this search result.Methods in javax.naming.directory with parameters of type Attributes Modifier and Type Method Description voidDirContext. bind(String name, Object obj, Attributes attrs)Binds a name to an object, along with associated attributes.voidDirContext. bind(Name name, Object obj, Attributes attrs)Binds a name to an object, along with associated attributes.DirContextDirContext. createSubcontext(String name, Attributes attrs)Creates and binds a new context, along with associated attributes.DirContextDirContext. createSubcontext(Name name, Attributes attrs)Creates and binds a new context, along with associated attributes.voidDirContext. modifyAttributes(String name, int mod_op, Attributes attrs)Modifies the attributes associated with a named object.voidDirContext. modifyAttributes(Name name, int mod_op, Attributes attrs)Modifies the attributes associated with a named object.voidDirContext. rebind(String name, Object obj, Attributes attrs)Binds a name to an object, along with associated attributes, overwriting any existing binding.voidDirContext. rebind(Name name, Object obj, Attributes attrs)Binds a name to an object, along with associated attributes, overwriting any existing binding.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, 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.voidSearchResult. setAttributes(Attributes attrs)Sets the attributes of this search result toattrs.Constructors in javax.naming.directory with parameters of type Attributes Constructor Description SearchResult(String name, Object obj, Attributes attrs)Constructs a search result using the result's name, its bound object, and its attributes.SearchResult(String name, Object obj, Attributes attrs, boolean isRelative)Constructs a search result using the result's name, its bound object, and its attributes, and whether the name is relative.SearchResult(String name, String className, Object obj, Attributes attrs)Constructs a search result using the result's name, its class name, its bound object, and its attributes.SearchResult(String name, String className, Object obj, Attributes attrs, boolean isRelative)Constructs a search result using the result's name, its class name, its bound object, its attributes, and whether the name is relative. -
Uses of Attributes in javax.naming.ldap
Methods in javax.naming.ldap that return Attributes Modifier and Type Method Description AttributesRdn. toAttributes()Retrieves theAttributesview of the type/value mappings contained in this Rdn.Constructors in javax.naming.ldap with parameters of type Attributes Constructor Description Rdn(Attributes attrSet)Constructs an Rdn from the given attribute set. -
Uses of Attributes in javax.naming.spi
Methods in javax.naming.spi that return Attributes Modifier and Type Method Description AttributesDirStateFactory.Result. getAttributes()Retrieves the attributes to be bound.Methods in javax.naming.spi with parameters of type Attributes Modifier and Type Method Description static ObjectDirectoryManager. getObjectInstance(Object refInfo, Name name, Context nameCtx, Hashtable<?,?> environment, Attributes attrs)Creates an instance of an object for the specified object, attributes, and environment.ObjectDirObjectFactory. getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment, Attributes attrs)Creates an object using the location or reference information, and attributes specified.static DirStateFactory.ResultDirectoryManager. getStateToBind(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment, Attributes attrs)Retrieves the state of an object for binding when given the original object and its attributes.DirStateFactory.ResultDirStateFactory. getStateToBind(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment, Attributes inAttrs)Retrieves the state of an object for binding given the object and attributes to be transformed.Constructors in javax.naming.spi with parameters of type Attributes Constructor Description Result(Object obj, Attributes outAttrs)Constructs an instance of Result.
-