faa.tg.prep.aces.geomaps
Class AcesGeomapParser

java.lang.Object
  extended by faa.tg.prep.aces.geomaps.AcesGeomapParser

public class AcesGeomapParser
extends java.lang.Object

 AcesGeomapParser takes an ACES GEOMAPS database and parses it into
 XML format using JDOM techniques.
 
See the source AcesGeomapParser

Version:
$Id: AcesGeomapParser.java,v 3.2 2008/08/07 18:08:50 johnd Exp $
Author:
Timothy Swantek

Field Summary
private  AcesGeomap currentGeomap
           
private  java.lang.String currentMapName
           
static java.lang.String CVS_VERSION_ID
          The CVS Version ID
private  java.io.DataOutputStream dos
           
private  java.lang.String mapCenterLatitude
           
private  java.lang.String mapCenterLongitude
           
 
Constructor Summary
AcesGeomapParser(PointOfTangencyData potd, AcesGeomapDB geomapDB, java.io.File outFile)
          Constructor - Constructs a new AcesGeomapParser object.
 
Method Summary
private  void processGeomapData(PointOfTangencyData potd, AcesGeomapDB geomapDB)
          Processes the entire GeomapDataBase, converting the elements within it's vector line-by-line and converting them into XML form based on the JDOM tree in Geomap.dtd.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CVS_VERSION_ID

public static final java.lang.String CVS_VERSION_ID
The CVS Version ID

See Also:
Constant Field Values

dos

private java.io.DataOutputStream dos

currentGeomap

private AcesGeomap currentGeomap

currentMapName

private java.lang.String currentMapName

mapCenterLatitude

private java.lang.String mapCenterLatitude

mapCenterLongitude

private java.lang.String mapCenterLongitude
Constructor Detail

AcesGeomapParser

public AcesGeomapParser(PointOfTangencyData potd,
                        AcesGeomapDB geomapDB,
                        java.io.File outFile)
Constructor - Constructs a new AcesGeomapParser object. This object also processes the GeomapData from the AcesGeomapDB parameter passed to it and writes it to the outFile parameter given.

Parameters:
potd - is a PointOfTangencyData object used for lat/lon construction.
geomapDB - is the AcesGeomapDB to parse for data.
outFile - is the destination file for the completed xml.
Method Detail

processGeomapData

private void processGeomapData(PointOfTangencyData potd,
                               AcesGeomapDB geomapDB)
Processes the entire GeomapDataBase, converting the elements within it's vector line-by-line and converting them into XML form based on the JDOM tree in Geomap.dtd. Please see that file for more infomation regarding the representation of the GeomapDataBase.

Parameters:
potd - is a PointOfTangencyData object. Used to construct various lat/lons.
AcesGeomapDB - : The Database to process.