-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Can I export the ADAPT data model to ISOXML format using the ISOXML plugin? I understand that I can read and import data from ISOXML format to the ADAPT data model, but can I write data to ISOXML format from the ADAPT data model?
I found an implementation of the export method, but it looks like this method is private and I can't call this method through the public interface:
ISOv4Plugin/ISOv4Plugin/Plugin.cs
Lines 28 to 42 in bc5ff97
| void IPlugin.Export(ApplicationDataModel.ADM.ApplicationDataModel dataModel, string exportPath, Properties properties) | |
| { | |
| //Convert the ADAPT model into the ISO model | |
| string outputPath = exportPath.WithTaskDataPath(); | |
| TaskDataMapper taskDataMapper = new TaskDataMapper(outputPath, properties); | |
| Errors = taskDataMapper.Errors; | |
| ISO11783_TaskData taskData = taskDataMapper.Export(dataModel); | |
| //Serialize the ISO model to XML | |
| TaskDocumentWriter writer = new TaskDocumentWriter(); | |
| writer.WriteTaskData(outputPath, taskData); | |
| //Serialize the Link List | |
| writer.WriteLinkList(outputPath, taskData.LinkList); | |
| } |
I will really appreciate if you help me.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels