T
- public interface MappingProvider<T>
Modifier and Type | Method and Description |
---|---|
void |
init(Map<String,Object> options)
Initialize the provider with the configured module options
|
void |
performMapping(Map<String,Object> map,
T mappedObject)
Map the passed object
|
void |
setMappingResult(MappingResult<T> result)
Injected by the MappingContext
|
boolean |
supports(Class<?> p)
Whether this mapping provider supports
mapping T
|
void init(Map<String,Object> options)
options
- void performMapping(Map<String,Object> map, T mappedObject)
map
- A read-only contextual map that can provide information to the providermappedObject
- an Object on which the mapping will be appliedIllegalArgumentException
- if the mappedObject is not understood by the
provider.void setMappingResult(MappingResult<T> result)
result
- boolean supports(Class<?> p)
t
- Copyright © 2021 JBoss by Red Hat. All rights reserved.