Class ConversionServiceConverterManager
java.lang.Object
org.springframework.ldap.odm.typeconversion.impl.ConversionServiceConverterManager
- All Implemented Interfaces:
ConverterManager
@Deprecated
public class ConversionServiceConverterManager
extends Object
implements ConverterManager
Deprecated.
- Since:
- 2.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated.static final classDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.ConversionServiceConverterManager(org.springframework.core.convert.ConversionService conversionService) Deprecated.ConversionServiceConverterManager(org.springframework.core.convert.support.GenericConversionService conversionService) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbooleancanConvert(Class<?> fromClass, String syntax, Class<?> toClass) Deprecated.Determine whether this converter manager is able to carry out a specified conversion.<T> TDeprecated.Convert a given source object with an optional LDAP syntax to an instance of a given class.
-
Constructor Details
-
ConversionServiceConverterManager
public ConversionServiceConverterManager(org.springframework.core.convert.ConversionService conversionService) Deprecated. -
ConversionServiceConverterManager
public ConversionServiceConverterManager(org.springframework.core.convert.support.GenericConversionService conversionService) Deprecated. -
ConversionServiceConverterManager
public ConversionServiceConverterManager()Deprecated.
-
-
Method Details
-
canConvert
Deprecated.Description copied from interface:ConverterManagerDetermine whether this converter manager is able to carry out a specified conversion.- Specified by:
canConvertin interfaceConverterManager- Parameters:
fromClass- Convert from thefromClass.syntax- Using the LDAP syntax (may be null).toClass- To thetoClass.- Returns:
Trueif the conversion is supported,falseotherwise.
-
convert
Deprecated.Description copied from interface:ConverterManagerConvert a given source object with an optional LDAP syntax to an instance of a given class.- Specified by:
convertin interfaceConverterManager- Type Parameters:
T- The class to convert to.- Parameters:
source- The object to convert.syntax- The LDAP syntax to use (may be null).toClass- The class to convert to.- Returns:
- The converted object.
-
ConversionServicedirectly and withConverterUtilsto add Spring LDAP converters