public abstract class AbstractConvertEngine extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_PACKAGE_NAME |
protected ResourceBundle |
messages |
protected static String |
NAME_PATTERN |
| Constructor and Description |
|---|
AbstractConvertEngine() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract com.github.jmodel.mapper.api.Builder<?> |
getBuilder(com.github.jmodel.api.FormatEnum toFormat) |
protected Object |
getResult(com.github.jmodel.api.Model model,
com.github.jmodel.api.FormatEnum toFormat,
Locale currentLocale)
For auto converting by model
|
protected <T> Object |
getResult(T sourceObj,
com.github.jmodel.api.FormatEnum fromFormat,
com.github.jmodel.api.FormatEnum toFormat,
Locale currentLocale)
For auto converting by source object
|
protected <T> Object |
getResult(T sourceObj,
String mappingURI,
Map<String,Object> argsMap,
Locale currentLocale)
For configured converting by source object
|
protected ResourceBundle messages
protected static String DEFAULT_PACKAGE_NAME
protected static String NAME_PATTERN
protected <T> Object getResult(T sourceObj, com.github.jmodel.api.FormatEnum fromFormat, com.github.jmodel.api.FormatEnum toFormat, Locale currentLocale)
sourceObj - fromFormat - toFormat - currentLocale - protected Object getResult(com.github.jmodel.api.Model model, com.github.jmodel.api.FormatEnum toFormat, Locale currentLocale)
model - toFormat - currentLocale - protected <T> Object getResult(T sourceObj, String mappingURI, Map<String,Object> argsMap, Locale currentLocale)
sourceObj - mappingURI - argsMap - currentLocale - protected abstract com.github.jmodel.mapper.api.Builder<?> getBuilder(com.github.jmodel.api.FormatEnum toFormat)
Copyright © 2016. All rights reserved.