Class DendrogramDimensionValuePartReader

    • Constructor Detail

      • DendrogramDimensionValuePartReader

        public DendrogramDimensionValuePartReader()
    • 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.
        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
      • getDimensionValueClass

        protected org.eclipse.emf.ecore.EClass getDimensionValueClass()
        Returns EClass of dendrogram's dimension value to be created during reading XML. Descendants must override it to provide the correct class.
        the class of dendrogram's dimension value
      • readValue

        protected void readValue​(DendrogramDimensionValue value,
                                 IXmlNode node,
                                 Version version,
                                 IXmlReadErrorCollector errorCollector)
        Reads XML and fills the specified value. Can be extended by descendants.
        value - the value to fill, cannot be null
        node - the xml node, cannot be null
        version - the current project version, cannot be null
        errorCollector - the errors collector, cannot be null