docs: @Override
      public void beginImport()
          {
          try
              {
              if (m_writer == null)
                  {
                  m_writer = m_writerFactory.create();
                  }
              m_xmlWriter = XMLOutputFactory.newInstance().createXMLStreamWriter(m_writer);
  
              m_xmlWriter.writeStartDocument();
              m_xmlWriter.writeStartElement(m_rootElementName);
              for (Map.Entry<String, String> entry : m_namespaceMap.entrySet())
                  {
                  m_xmlWriter.writeNamespace(entry.getKey(), entry.getValue());
                  }
              }
          catch (Exception e)
              {
              throw new RuntimeException(e);
              }
          }