protected static class MappingMongoConverter.DefaultConversionContext extends Object implements MappingMongoConverter.ConversionContext
ValueConverter and ContainerValueConverter.
Entrypoint for recursive conversion of Document and other types.| Modifier and Type | Method and Description |
|---|---|
<S> S |
convert(Object source,
org.springframework.data.util.TypeInformation<? extends S> typeHint,
MappingMongoConverter.ConversionContext context)
Converts a source object into
target. |
org.springframework.data.convert.CustomConversions |
getCustomConversions() |
org.springframework.data.mongodb.core.convert.ObjectPath |
getPath() |
MongoConverter |
getSourceConverter() |
MappingMongoConverter.ConversionContext |
withPath(org.springframework.data.mongodb.core.convert.ObjectPath currentPath)
Create a new
MappingMongoConverter.ConversionContext with currentPath applied. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvert, findContextualEntity, forProperty, forPropertypublic <S> S convert(Object source, org.springframework.data.util.TypeInformation<? extends S> typeHint, MappingMongoConverter.ConversionContext context)
MappingMongoConverter.ConversionContexttarget.convert in interface MappingMongoConverter.ConversionContextsource - must not be null.typeHint - must not be null.context - must not be null.public org.springframework.data.convert.CustomConversions getCustomConversions()
getCustomConversions in interface MappingMongoConverter.ConversionContextpublic MongoConverter getSourceConverter()
getSourceConverter in interface MappingMongoConverter.ConversionContextpublic MappingMongoConverter.ConversionContext withPath(org.springframework.data.mongodb.core.convert.ObjectPath currentPath)
MappingMongoConverter.ConversionContextMappingMongoConverter.ConversionContext with currentPath applied.withPath in interface MappingMongoConverter.ConversionContextcurrentPath - must not be null.MappingMongoConverter.ConversionContext with currentPath applied.public org.springframework.data.mongodb.core.convert.ObjectPath getPath()
getPath in interface MappingMongoConverter.ConversionContextCopyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.