code: public void saveXml(T jaxbBean, DataResource resource) {
  
      OutputStream outputStream = resource.openOutputStream();
      saveXml(jaxbBean, outputStream);
    }
docs: This method saves the given {@code jaxbBean} as XML to the given {@code outputStream}. <br>
  <b>ATTENTION:</b><br>
  The caller of this method has to {@link OutputStream#close() close} the {@code outputStream}.
  
  @param jaxbBean is the JAXB-bean to save as XML.
  @param resource is the {@link DataResource} where to {@link DataResource#openOutputStream() write} to.