public Unmarshaller createUnmarshaller(Class<?> clazz) throws JAXBException {
    Unmarshaller unmarshaller = getContext(clazz).createUnmarshaller();
    if (unmarshallerEventHandler != null) {
      unmarshaller.setEventHandler(unmarshallerEventHandler);
    }
    unmarshaller.setSchema(unmashallerSchema);
    return unmarshaller;
  }
Creates a new {@link jakarta.xml.bind.Unmarshaller} that handles the supplied class.
jaxb-jakarta/src/main/java/feign/jaxb/JAXBContextFactory.java