docs: protected XMLStreamWriter createStreamWriter(OutputStream output) throws XMLStreamException {
          if (outputFactory == null) {
              outputFactory = XMLOutputFactory.newInstance();
          }
          return outputFactory.createXMLStreamWriter(output);
      }