public class Importer100 extends Object implements I_Importer
Constructor and Description |
---|
Importer100() |
Modifier and Type | Method and Description |
---|---|
JAXBElement<ImportExportRoot> |
convertData(JAXBElement xmlObj)
Convert data from another version (always the former schema version)
to the format supported by this specific implementation
|
JAXBElement<ImportExportRoot> |
importData(InputStream xmlData)
Parse input data and provide the JAXBElement for the XML-schema
supported that specific implementation
|
public Importer100() throws JAXBException
JAXBException
public JAXBElement<ImportExportRoot> importData(InputStream xmlData) throws ImportFailedException
I_Importer
importData
in interface I_Importer
xmlData
- The XML-data as streamImportFailedException
public JAXBElement<ImportExportRoot> convertData(JAXBElement xmlObj) throws ImportFailedException
I_Importer
convertData
in interface I_Importer
xmlObj
- structured XML from a previous schema-versionImportFailedException
Copyright © 2016 Fraunhofer FOKUS. All rights reserved.