public class XmlMigrator extends Object
Mapper
's
Each mapper has an exportXML()
that process's each entity and writes all required relationship to an
XML element that is then returned to this class to be finally written to disk (on export).
The mapper's importXML()
will take the XML document produced from an export and create the entities it is
responsible for and create each entity in the datastore.Constructor and Description |
---|
XmlMigrator(List<Mapper> mappers) |
Modifier and Type | Method and Description |
---|---|
void |
exportXml(org.dom4j.Element root,
Map<String,Object> options) |
void |
importXml(org.dom4j.Element root) |
public void exportXml(org.dom4j.Element root, Map<String,Object> options) throws ExportException
ExportException
public void importXml(org.dom4j.Element root) throws ImportException
ImportException
Copyright © 2021 Atlassian. All rights reserved.