read
public XmlReaderResult read(Document document,
Path path,
org.eclipse.emf.ecore.EClass eClass,
org.eclipse.emf.ecore.EObject parent,
org.eclipse.emf.ecore.EStructuralFeature feature,
Version version)
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
path
- the file path with XML document, cannot be null
eClass
- the class to read object with, cannot be null
parent
- the parent object reference, can 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