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 | Class and Description |
---|---|
static class |
PropertyValueConverter.FunctionPropertyValueConverter<DV,SV,P extends PersistentProperty<P>>
A
PropertyValueConverter that delegates conversion to the given BiFunction s. |
static class |
PropertyValueConverter.ObjectToObjectPropertyValueConverter
No-op
PropertyValueConverter implementation. |
Modifier and Type | Method and Description |
---|---|
<DV,SV> PropertyValueConverter<DV,SV,? extends ValueConversionContext<P>> |
ValueConverterRegistry.getConverter(Class<?> type,
String path)
Obtain the
PropertyValueConverter registered for the given type, path combination or null
if none defined. |
<S,T> PropertyValueConverter<S,T,? extends ValueConversionContext<P>> |
SimplePropertyValueConverterRegistry.getConverter(Class<?> type,
String path) |
<DV,SV,C extends ValueConversionContext<?>> |
PropertyValueConverterFactory.getConverter(Class<? extends PropertyValueConverter<DV,SV,C>> converterType)
Get the converter by its type.
|
default <DV,SV,P extends ValueConversionContext<?>> |
PropertyValueConverterFactory.getConverter(PersistentProperty<?> property)
Get the
PropertyValueConverter applicable for the given PersistentProperty . |
<DV,SV,P extends PersistentProperty<P>,D extends ValueConversionContext<P>> |
SimplePropertyValueConversions.getValueConverter(P property) |
<DV,SV,P extends PersistentProperty<P>,VCC extends ValueConversionContext<P>> |
PropertyValueConversions.getValueConverter(P property)
|
Modifier and Type | Method and Description |
---|---|
PropertyValueConverterRegistrar<P> |
PropertyValueConverterRegistrar.registerConverter(Class<?> type,
String path,
PropertyValueConverter<?,?,? extends ValueConversionContext<?>> converter)
Register the given
converter for the given type and property identified by
its name. |
void |
ValueConverterRegistry.registerConverter(Class<?> type,
String path,
PropertyValueConverter<?,?,? extends ValueConversionContext<P>> converter)
Register the
PropertyValueConverter for the property of the given type. |
void |
SimplePropertyValueConverterRegistry.registerConverter(Class<?> type,
String path,
PropertyValueConverter<?,?,? extends ValueConversionContext<P>> converter) |
void |
SimplePropertyValueConverterRegistry.registerConverterIfAbsent(Class<?> type,
String path,
PropertyValueConverter<?,?,? extends ValueConversionContext<P>> converter)
Register the
PropertyValueConverter for the property of the given type if none had been registered before. |
Modifier and Type | Method and Description |
---|---|
<DV,SV,C extends ValueConversionContext<?>> |
PropertyValueConverterFactory.getConverter(Class<? extends PropertyValueConverter<DV,SV,C>> converterType)
Get the converter by its type.
|
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.