Interface IXmlFileReader

    • Method Detail

      • read

        XmlReaderResult read​(Document document,
                             Path path,
                             org.eclipse.emf.ecore.EClass eClass,
                             org.eclipse.emf.ecore.EStructuralFeature feature,
                             Version version)
        Read XML file to the XML reader result with the provided eClass content.
        Parameters:
        document - the XML document parsed from file, cannot be null
        path - the file path with XML document, cannot be null
        eClass - the class to read object with, cannot be null
        feature - the context feature containing eClass or null if not needed
        version - the version of importing 1C:Enterprise XML files, cannot be null
        Returns:
        the XmlReaderResult as importing result with the provided eClass content, never null