code: public void marshall(Configuration configuration, OutputStream outputStream) {
          try {
              final Marshaller marshaller = _jaxbContext.createMarshaller();
              marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
              marshaller.setEventHandler(new JaxbValidationEventHandler());
              marshaller.marshal(configuration, outputStream);
          } catch (JAXBException e) {
              throw new IllegalStateException(e);
          }
      }
docs: Convenience method to marshal a JAXB configuration object into an output
  stream.
  
  @param configuration
  @param outputStream