|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.filters.AbstractFilter
faa.tg.dra.tools.AcLatLonGeoMapPointFactory
public class AcLatLonGeoMapPointFactory
This factory turns an aircraft Latitude and Longitude into Geo Map Points See the source AcLatLonMapPointFactory.java
| Field Summary | |
|---|---|
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
static AcesSymbolType |
DEFAULT_SYMBOL
|
private boolean |
isWritable
|
private java.io.File |
outputFile
|
private java.util.Hashtable<Acid,java.util.Vector<Position>> |
positions
|
private static Namespace |
SCHEMA_INSTANCE_NAMESPACE
|
(package private) static long |
serialVersionUID
|
private AcesSymbolType |
symbol
|
| Fields inherited from class faa.tg.filters.AbstractFilter |
|---|
DEFAULT_PASS_THROUGH, listeners, passThrough |
| Constructor Summary | |
|---|---|
AcLatLonGeoMapPointFactory(boolean passThrough,
java.lang.String outputFile,
java.lang.String symbol)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates a new Object with the same output file |
void |
closeAll()
Flushes output and closes all output files. |
void |
doFinal()
Does final activities for writer: flushes output and closes file. |
java.lang.String |
getOutputFileName()
Returns the name of the file to write the output to |
void |
handleObject(Filterable evt)
handle incoming event |
boolean |
isWritableFile()
Returns whether output file is writable |
void |
setOutputFileName(java.lang.String outputFileName)
Set output file name Required by StdWriter interface |
private void |
writePositions()
Write out geo map xml |
| Methods inherited from class faa.tg.filters.AbstractFilter |
|---|
addFilterableListener, fire, getPassThrough, removeFilterableListener, setPassThrough, substituteFileVariables |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface faa.tg.filters.Filter |
|---|
addFilterableListener, fire, getPassThrough, removeFilterableListener, setPassThrough |
| Field Detail |
|---|
static final long serialVersionUID
public static final java.lang.String CVS_VERSION_ID
private java.io.File outputFile
private AcesSymbolType symbol
public static final AcesSymbolType DEFAULT_SYMBOL
private java.util.Hashtable<Acid,java.util.Vector<Position>> positions
private static final Namespace SCHEMA_INSTANCE_NAMESPACE
private boolean isWritable
| Constructor Detail |
|---|
public AcLatLonGeoMapPointFactory(boolean passThrough,
java.lang.String outputFile,
java.lang.String symbol)
passThrough - - Whether to send non-aircraft objects read
in.outputFile - - where to write GeoMap Xml to.symbol - - the type of symbol to use to draw point| Method Detail |
|---|
public java.lang.Object clone()
clone in interface StdWriterclone in class java.lang.Objectpublic void handleObject(Filterable evt)
handleObject in interface StdWriterhandleObject in interface FilterableListenerhandleObject in class AbstractFilterevt - The event containing the Filterable object.private void writePositions()
public void closeAll()
closeAll in interface StdWriterpublic void doFinal()
doFinal in interface StdWriterdoFinal in interface DoesFinalpublic java.lang.String getOutputFileName()
getOutputFileName in interface StdWriterpublic boolean isWritableFile()
isWritableFile in interface StdWriterpublic void setOutputFileName(java.lang.String outputFileName)
setOutputFileName in interface StdWriteroutputFileName - - the name of the file to write the output to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||