Class CmiXmlReader

    • Constructor Detail

      • CmiXmlReader

        public CmiXmlReader()
    • Method Detail

      • read

        public XmlReaderResult read​(Document document,
                                    File file,
                                    org.eclipse.emf.ecore.EClass eClass,
                                    org.eclipse.emf.ecore.EStructuralFeature feature,
                                    Version version)
        Description copied from interface: IXmlFileReader
        Read XML file to the XML reader result with the provided eClass content.
        Specified by:
        read in interface IXmlFileReader
        Parameters:
        document - the XML document parsed from file, cannot be null
        file - the file 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