private BaseNavigationFormat findFormat(String formatName) {
   List<NavigationFormat> formats = NavigationFormats.getWriteFormats();
   for (NavigationFormat format : formats)
     if (formatName.equals(format.getClass().getSimpleName()))
       return (BaseNavigationFormat) format;
   return null;
 }
 private void logFormatNames(List<NavigationFormat> formats) {
   log.info("Supported formats:");
   for (NavigationFormat format : formats)
     log.info(format.getClass().getSimpleName() + " for " + format.getName());
 }