toolbox.ldap
Class AttributesBuilderImpl

Package class diagram package AttributesBuilderImpl
java.lang.Object
  extended by toolbox.ldap.AttributesBuilderImpl
All Implemented Interfaces:
AttributesBuilder

public class AttributesBuilderImpl
extends java.lang.Object
implements AttributesBuilder

Default AttributesBuilder implementation.


Constructor Summary
AttributesBuilderImpl()
          Default constructor.
 
Method Summary
 javax.naming.directory.Attributes buildAttributes(EntryDefinition def, java.util.Map map, boolean doOc)
          Convert the given Map into an Attributes instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributesBuilderImpl

public AttributesBuilderImpl()
Default constructor.

Method Detail

buildAttributes

public javax.naming.directory.Attributes buildAttributes(EntryDefinition def,
                                                         java.util.Map map,
                                                         boolean doOc)
Convert the given Map into an Attributes instance.

Specified by:
buildAttributes in interface AttributesBuilder
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.