code: protected Marshaller getOrCreateMarshaller() {
  
      try {
        Marshaller marshaller = this.jaxbContext.createMarshaller();
        marshaller.setEventHandler(this);
        return marshaller;
      } catch (JAXBException e) {
        throw new IllegalStateException(e);
      }
    }
docs: This method gets a {@link Marshaller} instance. This method potentially allows reusing the {@link Marshaller} (if
  it is thread-safe).
  
  @return the {@link Marshaller}.