Class EntryChangeFactory
- java.lang.Object
-
- org.apache.directory.api.ldap.codec.controls.search.entryChange.EntryChangeFactory
-
- All Implemented Interfaces:
ControlFactory<EntryChange>
public class EntryChangeFactory extends Object implements ControlFactory<EntryChange>
AControlFactory
forEntryChange
controls.- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description EntryChangeFactory(LdapApiService codec)
Creates a new instance of EntryChangeFactory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getOid()
CodecControl<EntryChange>
newCodecControl()
Creates and returns a decorated version of the Control.CodecControl<EntryChange>
newCodecControl(EntryChange control)
Decorates an existing control.
-
-
-
Constructor Detail
-
EntryChangeFactory
public EntryChangeFactory(LdapApiService codec)
Creates a new instance of EntryChangeFactory.- Parameters:
codec
- The LDAP codec.
-
-
Method Detail
-
getOid
public String getOid()
- Specified by:
getOid
in interfaceControlFactory<EntryChange>
- Returns:
- The OID of the Control this factory creates.
-
newCodecControl
public CodecControl<EntryChange> newCodecControl()
Creates and returns a decorated version of the Control.- Specified by:
newCodecControl
in interfaceControlFactory<EntryChange>
- Returns:
- The
CodecControl
decorated version of the Control.
-
newCodecControl
public CodecControl<EntryChange> newCodecControl(EntryChange control)
Decorates an existing control. Implementors should check to make sure the supplied Control has not already been decorated to prevent needless decorator nesting.- Specified by:
newCodecControl
in interfaceControlFactory<EntryChange>
- Parameters:
control
- TheControl
to be decorated.- Returns:
- The decorator wrapping the Control.
-
-