class JAXBContextFactory {

  public Marshaller createMarshaller(Class<?> clazz) throws JAXBException {
    Marshaller marshaller = getContext(clazz).createMarshaller();
    setMarshallerProperties(marshaller);
    return marshaller;
  }

  private  JAXBContextFactory(Map<String, Object> properties);

}