| Package | Description |
|---|---|
| ch.jalu.configme.beanmapper |
| Modifier and Type | Class and Description |
|---|---|
class |
MappingContextImpl
Standard implementation of
MappingContext. |
| Modifier and Type | Method and Description |
|---|---|
@NotNull MappingContext |
MappingContext.createChild(@NotNull String name,
@NotNull TypeInformation typeInformation)
Creates a child context with the given path addition ("name") and type information.
|
@NotNull MappingContext |
MappingContextImpl.createChild(@NotNull String subPath,
@NotNull TypeInformation typeInformation) |
protected @NotNull MappingContext |
MapperImpl.createRootMappingContext(@NotNull TypeInformation beanType,
@NotNull ConvertErrorRecorder errorRecorder) |
| Modifier and Type | Method and Description |
|---|---|
protected @Nullable Object |
MapperImpl.convertValueForType(@NotNull MappingContext context,
@Nullable Object value)
Main method for converting a value to another type.
|
protected @Nullable Object |
MapperImpl.createBean(@NotNull MappingContext context,
@Nullable Object value)
Converts the provided value to the requested JavaBeans class if possible.
|
protected @NotNull Object |
MapperImpl.createBeanMatchingType(@NotNull MappingContext mappingContext)
Creates an object matching the given type information.
|
protected @Nullable Collection |
MapperImpl.createCollection(@NotNull MappingContext context,
@Nullable Object value)
Handles the creation of Collection properties.
|
protected @NotNull Collection |
MapperImpl.createCollectionMatchingType(@NotNull MappingContext mappingContext)
Creates a Collection of a type which can be assigned to the provided type.
|
protected @Nullable Map |
MapperImpl.createMap(@NotNull MappingContext context,
@Nullable Object value)
Handles the creation of a Map property.
|
protected @NotNull Map |
MapperImpl.createMapMatchingType(@NotNull MappingContext mappingContext)
Creates a Map of a type which can be assigned to the provided type.
|
protected @NotNull Object |
MapperImpl.createOptional(@NotNull MappingContext context,
@Nullable Object value) |
protected @Nullable Object |
MapperImpl.handleSpecialTypes(@NotNull MappingContext context,
@Nullable Object value)
Handles special types in the bean mapping process which require special handling.
|
| Constructor and Description |
|---|
ConfigMeMapperException(@NotNull MappingContext mappingContext,
@NotNull String message)
Constructor.
|
ConfigMeMapperException(@NotNull MappingContext mappingContext,
@NotNull String message,
@Nullable Throwable cause)
Constructor.
|
Copyright © 2016–2023 The AuthMe Team. All rights reserved.