org.apache.directory.shared.ldap.codec.controls.search.persistentSearch
Class PersistentSearchFactory
java.lang.Object
org.apache.directory.shared.ldap.codec.controls.search.persistentSearch.PersistentSearchFactory
- All Implemented Interfaces:
- ControlFactory<PersistentSearch,PersistentSearchDecorator>
public class PersistentSearchFactory
- extends Object
- implements ControlFactory<PersistentSearch,PersistentSearchDecorator>
- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistentSearchFactory
public PersistentSearchFactory(LdapCodecService codec)
getOid
public String getOid()
-
- Specified by:
getOid in interface ControlFactory<PersistentSearch,PersistentSearchDecorator>
- Returns:
- The OID of the Control this factory creates.
newCodecControl
public PersistentSearchDecorator newCodecControl()
- Creates and returns a decorated version of the Control.
- Specified by:
newCodecControl in interface ControlFactory<PersistentSearch,PersistentSearchDecorator>
- Returns:
- The
CodecControl decorated version of the Control.
newCodecControl
public PersistentSearchDecorator newCodecControl(PersistentSearch 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 interface ControlFactory<PersistentSearch,PersistentSearchDecorator>
- Parameters:
control - The Control to be decorated.
- Returns:
- The decorator wrapping the Control.
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.