Class AbstractFormXmlPartReader

    • Constructor Detail

      • AbstractFormXmlPartReader

        public AbstractFormXmlPartReader()
    • Method Detail

      • read

        public void read​(org.eclipse.emf.ecore.EObject context,
                         org.eclipse.emf.ecore.EStructuralFeature feature,
                         IXmlNode node,
                         String attributeName,
                         Version version,
                         IXmlReadErrorCollector errorCollector)
        Description copied from interface: IXmlPartReader
        Read and convert node named attribute content to value in context-feature.
        Parameters:
        context - the context EObject, cannot be null
        feature - the EStructuralFeature, cannot be null
        node - the source IXmlNode, cannot be null
        attributeName - the name of attribute to set as value in model, or null to use text from node
        version - the version of importing 1C:Enterprise XML files, cannot be null
        errorCollector - the IXmlReadErrorCollector to add occurred errors
      • readContainment

        protected abstract void readContainment​(org.eclipse.emf.ecore.EObject context,
                                                org.eclipse.emf.ecore.EStructuralFeature feature,
                                                IXmlNode node,
                                                String attributeName,
                                                Version version,
                                                IXmlReadErrorCollector errorCollector)
        Read and convert node named attribute content to value in context-feature.
        Parameters:
        context - the context EObject, cannot be null
        feature - the containment EStructuralFeature, cannot be null
        node - the source IXmlNode, cannot be null
        attributeName - the name of attribute to set as value in model, or null to use text from node
        version - the version of importing 1C:Enterprise XML files, cannot be null
        errorCollector - the IXmlReadErrorCollector to add occurred errors
      • readReference

        protected void readReference​(org.eclipse.emf.ecore.EObject context,
                                     org.eclipse.emf.ecore.EStructuralFeature feature,
                                     IXmlNode node,
                                     String attributeName,
                                     Version version,
                                     IXmlReadErrorCollector errorCollector)
        Read and convert node named attribute content to value in context-feature.
        Parameters:
        context - the context EObject, cannot be null
        feature - the reference EStructuralFeature, cannot be null
        node - the source IXmlNode, cannot be null
        attributeName - the name of attribute to set as value in model, or null to use text from node
        version - the version of importing 1C:Enterprise XML files, cannot be null
        errorCollector - the IXmlReadErrorCollector to add occurred errors