Class ISpecifiedElementWriter.ZeroWriter

    • Constructor Detail

      • ZeroWriter

        public ZeroWriter()
    • Method Detail

      • write

        public void write​(ExportXmlStreamWriter writer,
                          org.eclipse.emf.ecore.EObject eObject,
                          org.eclipse.emf.ecore.EStructuralFeature feature,
                          boolean writeEmpty,
                          Version version)
                   throws ExportException
        Description copied from interface: ISpecifiedElementWriter
        Write value from eObject-feature reference by specified rules
        Specified by:
        write in interface ISpecifiedElementWriter
        writer - the xml ExportXmlStreamWriter, cannot be null
        eObject - context object, cannot be null
        feature - the EStructuralFeature, cannot be null
        writeEmpty - write empty element if true or nothing if false
        version - the exporting project Version, cannot be null
        ExportException - if export processing errors