Class FlightDataEarthService
java.lang.Object
org.deltava.service.WebService
org.deltava.service.acars.GoogleEarthService
org.deltava.service.acars.FlightDataEarthService
A Web Service to format ACARS flight data for Google Earth.
- Since:
- 1.0
- Version:
- 11.6
- Author:
- Luke
-
Field Summary
Fields inherited from class GoogleEarthService
COLORS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintexecute(ServiceContext ctx) Executes the Web Service, writing ACARS flight data in KML format.booleanisSecure()Returns whether this web service requires authentication.Methods inherited from class GoogleEarthService
createAircraft, createAirport, createAirspace, createFlightRoute, createPositionData, createProgressModifier and TypeMethodDescriptionprotected static ElementcreateAircraft(String name, RouteEntry entry) Helper method to generate an aircraft Placemark element.protected static ElementcreateAirport(Airport a, String desc) Helper method to generate an airport Placemark element.protected static ElementcreateAirspace(Airspace a, boolean isVisible) Renders an Airspace boundary into Google Earth KML.protected static ElementcreateFlightRoute(String name, Collection<NavigationDataBean> waypoints, boolean isVisible) Renders the flight plan to Google Earth KML.protected static ElementcreatePositionData(Collection<RouteEntry> positions, boolean isVisible) Helper method to generate flight position data as a KML Folder element.protected static ElementcreateProgress(Collection<RouteEntry> positions, GoogleEarthColor routeColor) Helper method to render flight progress as a KML Placemark / LineString element.Methods inherited from class WebService
error, error, error, isLoggedModifier and TypeMethodDescriptionprotected static ServiceExceptionCreates a ServiceException.protected static ServiceExceptionCreates a ServiceException.protected static ServiceExceptionCreates a ServiceException.booleanisLogged()Returns whether this web service calls are logged.
-
Constructor Details
-
FlightDataEarthService
public FlightDataEarthService()
-
-
Method Details
-
execute
Executes the Web Service, writing ACARS flight data in KML format.- Specified by:
executein classWebService- Parameters:
ctx- the Web Service Context- Returns:
- the HTTP status code
- Throws:
ServiceException- if an error occurs
-
isSecure
public boolean isSecure()Description copied from class:WebServiceReturns whether this web service requires authentication.- Overrides:
isSecurein classWebService- Returns:
- TRUE if authentication is required, otherwise FALSE
-