Class StringWriter

    • Constructor Detail

      • StringWriter

        public StringWriter()
    • 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 XMLStreamException,
                          ExportException
        Description copied from interface: ISpecifiedElementWriter
        Write value from eObject-feature reference by specified rules
        Parameters:
        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
        Throws:
        XMLStreamException - if unexpected processing errors
        ExportException - if export processing errors