Package | Description |
---|---|
org.springframework.data.convert |
General purpose conversion framework to read objects from a data store abstraction and write it back.
|
Modifier and Type | Method and Description |
---|---|
static PropertyValueConverterFactory |
PropertyValueConverterFactory.beanFactoryAware(BeanFactory beanFactory)
Obtain a
PropertyValueConverterFactory capable of looking up/creating the PropertyValueConverter
via the given BeanFactory . |
static PropertyValueConverterFactory |
PropertyValueConverterFactory.caching(PropertyValueConverterFactory factory)
Obtain a
PropertyValueConverterFactory that will cache PropertyValueConverter instances per
PersistentProperty . |
static PropertyValueConverterFactory |
PropertyValueConverterFactory.chained(List<PropertyValueConverterFactory> factoryList)
Obtain a
PropertyValueConverterFactory that will try to obtain a PropertyValueConverter from the
given list of factories by returning the first non null one. |
static PropertyValueConverterFactory |
PropertyValueConverterFactory.chained(PropertyValueConverterFactory... factories)
Obtain a
PropertyValueConverterFactory that will try to obtain a PropertyValueConverter from the
given array of factories by returning the first non null one. |
static PropertyValueConverterFactory |
PropertyValueConverterFactory.configuredInstance(ValueConverterRegistry<?> registrar)
Obtain a
PropertyValueConverterFactory capable of looking up the PropertyValueConverter in the
given PropertyValueConverterRegistrar . |
PropertyValueConverterFactory |
SimplePropertyValueConversions.getConverterFactory()
Returns the configured
PropertyValueConverterFactory responsible for creating the actual
PropertyValueConverter . |
static PropertyValueConverterFactory |
PropertyValueConverterFactory.simple()
Obtain a simple
PropertyValueConverterFactory capable of instantiating PropertyValueConverter
implementations via their default Constructor or in case of an Enum accessing the
first enum value. |
Modifier and Type | Method and Description |
---|---|
static PropertyValueConverterFactory |
PropertyValueConverterFactory.caching(PropertyValueConverterFactory factory)
Obtain a
PropertyValueConverterFactory that will cache PropertyValueConverter instances per
PersistentProperty . |
static PropertyValueConverterFactory |
PropertyValueConverterFactory.chained(PropertyValueConverterFactory... factories)
Obtain a
PropertyValueConverterFactory that will try to obtain a PropertyValueConverter from the
given array of factories by returning the first non null one. |
void |
SimplePropertyValueConversions.setConverterFactory(PropertyValueConverterFactory converterFactory)
Set the
PropertyValueConverterFactory responsible for creating the actual PropertyValueConverter . |
Modifier and Type | Method and Description |
---|---|
static PropertyValueConverterFactory |
PropertyValueConverterFactory.chained(List<PropertyValueConverterFactory> factoryList)
Obtain a
PropertyValueConverterFactory that will try to obtain a PropertyValueConverter from the
given list of factories by returning the first non null one. |
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.