Class FontReader

    • Constructor Detail

      • FontReader

        public FontReader()
    • 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
      • readFont

        protected Font readFont​(IXmlNode node,
                                String attributeName,
                                Version version,
                                IXmlReadErrorCollector errorCollector)
        Reads font value.
        Parameters:
        node - the font node, cannot be null
        attributeName - the attribute name, cannot be null
        version - the version of importing 1C:Enterprise XML files, cannot be null
        errorCollector - the error collector, cannot be null
        Returns:
        the font, can be null