public final class MapperFactory extends Object
DMapper| Modifier and Type | Method and Description |
|---|---|
DMapper |
getDigestMapper(Class clazz)
Returns the mapper that is registered for a given digest class.
|
DMapper |
getInstanceMapper(Class clazz)
Returns the mapper that is registered for a given instance class.
|
static MapperFactory |
newInstance()
Creates and returns a new instance of this mapper factory.
|
protected void |
registerMapper(Class mapperClass)
Registers a new mapper.
|
public static MapperFactory newInstance()
protected void registerMapper(Class mapperClass) throws MapperRegistrationException
mapperClass - the class of the new mapperMapperRegistrationException - if the mapper cannot get registeredpublic DMapper getInstanceMapper(Class clazz)
clazz - the instance classCopyright © 2005–2020. All rights reserved.