Class XMLFormatter

java.lang.Object
org.deltava.service.navdata.XMLFormatter

class XMLFormatter extends Object
A utility class to handle XML translation for the XMLClientDataService.
Since:
10.0
Version:
11.2
Author:
Luke
  • Method Details

    • formatGate

      static Map.Entry<String,String> formatGate(Map.Entry<String, Collection<Gate>> me)
      Converts a collection of Gates into an XML document.
      Parameters:
      me - a Map.Entry with a Collection of Gates, keyed by Airport
      Returns:
      a Map.Entry with an XML document string, keyed by Airport ICAO code
    • formatTR

      Converts a collection of Terminal Rotues into an XML document.
      Parameters:
      me - a Map.Entry with a Collection of TerminalRoutes, keyed by Airport
      Returns:
      a Map.Entry with an XML document string, keyed by Airport ICAO code
    • formatRunway

      static Map.Entry<String,String> formatRunway(Map.Entry<String, Collection<Runway>> me)
      Converts a collection of Runways into an XML document.
      Parameters:
      me - a Map.Entry with a Collection of Runways, keyed by Airport
      Returns:
      a Map.Entry with an XML document string, keyed by Airport ICAO code