public Marshaller createMarshaller(Class<?> clazz) throws JAXBException {
    Marshaller marshaller = getContext(clazz).createMarshaller();
    setMarshallerProperties(marshaller);
    if (marshallerEventHandler != null) {
      marshaller.setEventHandler(marshallerEventHandler);
    }
    marshaller.setSchema(marshallerSchema);
    return marshaller;
  }
Creates a new {@link javax.xml.bind.Marshaller} that handles the supplied class.
jaxb/src/main/java/feign/jaxb/JAXBContextFactory.java