toolbox.ldap
Interface AttributesBuilder
- All Known Implementing Classes:
- AttributesBuilderImpl
public interface AttributesBuilder
Implementations of this interface will convert Map instances
to naming Attributes instances.
Method Summary |
javax.naming.directory.Attributes |
buildAttributes(EntryDefinition def,
java.util.Map map,
boolean doOc)
Convert the given Map into an Attributes instance. |
buildAttributes
javax.naming.directory.Attributes buildAttributes(EntryDefinition def,
java.util.Map map,
boolean doOc)
- Convert the given Map into an Attributes instance.
- Parameters:
def
- Entry definition that describes the type of entry.map
- Map instance to convert.doOc
- Include object class definition in returned Attributes
instance.
- Returns:
- Attributes instance containing attribute name-value pairs.