Class EventHandlerWriter

    • Constructor Detail

      • EventHandlerWriter

        public EventHandlerWriter()
    • Method Detail

      • writeEvent

        protected void writeEvent​(ExportXmlStreamWriter writer,
                                  org.eclipse.emf.ecore.EObject eObject,
                                  org.eclipse.emf.ecore.EStructuralFeature feature,
                                  EventHandler handler)
                           throws XMLStreamException,
                                  ExportException
        Writes a form event handler to the provided export XML stream writer.
        Parameters:
        writer - the XML stream writer to write event to, cannot be null
        eObject - the context model object, cannot be null
        feature - the context model feature, cannot be null
        handler - the form event handler, cannot be null
        Throws:
        XMLStreamException - if XML write error occurred
        ExportException - if export processing errors
      • writeEventAdditionalProperties

        protected void writeEventAdditionalProperties​(ExportXmlStreamWriter writer,
                                                      org.eclipse.emf.ecore.EObject eObject,
                                                      org.eclipse.emf.ecore.EStructuralFeature feature,
                                                      EventHandler handler)
                                               throws XMLStreamException,
                                                      ExportException
        Writes a form event handler additional properties to the provided export XML stream writer. Default implementation writes nothing.
        Parameters:
        writer - the XML stream writer to write event to, cannot be null
        eObject - the context model object, cannot be null
        feature - the context model feature, cannot be null
        handler - the form event handler, cannot be null
        Throws:
        XMLStreamException - if XML write error occurred
        ExportException - if export processing errors