public RtfDumpListener(OutputStream stream)
      throws XMLStreamException
   {
      writer = new IndentingXMLStreamWriter(XMLOutputFactory.newInstance().createXMLStreamWriter(stream, "UTF-8"));
   }