public class BeanMappingXMLBuilder extends Object implements BeanMappingsBuilder
| Constructor and Description |
|---|
BeanMappingXMLBuilder(BeanContainer beanContainer,
ELEngine elEngine) |
| Modifier and Type | Method and Description |
|---|---|
List<MappingFileData> |
build(BeanContainer beanContainer,
DestBeanCreator destBeanCreator,
PropertyDescriptorFactory propertyDescriptorFactory)
Builds a collection mappings to be used
|
void |
loadFiles(List<String> files)
Loads the collection of files into memory and parses the XML
|
void |
loadInputStreams(List<Supplier<InputStream>> xmlMappingSuppliers)
Loads the collection of streams into memory and parses the XML
|
public BeanMappingXMLBuilder(BeanContainer beanContainer, ELEngine elEngine)
public void loadFiles(List<String> files)
files - collection of file pathspublic void loadInputStreams(List<Supplier<InputStream>> xmlMappingSuppliers)
xmlMappingSuppliers - collection of streams to xml file/contentpublic List<MappingFileData> build(BeanContainer beanContainer, DestBeanCreator destBeanCreator, PropertyDescriptorFactory propertyDescriptorFactory)
build in interface BeanMappingsBuilderbeanContainer - bean container instancedestBeanCreator - bean creator instancepropertyDescriptorFactory - property descriptor instanceCopyright © 2005–2021 dozer. All rights reserved.