faa.tg.scenario.importer
Class XmlAarImporter

java.lang.Object
  extended by faa.tg.scenario.importer.XmlDomImporter
      extended by faa.tg.scenario.importer.XmlAarImporter
All Implemented Interfaces:
Importer<AlternateArrivalRoute>, org.xml.sax.ErrorHandler

public class XmlAarImporter
extends XmlDomImporter
implements Importer<AlternateArrivalRoute>


Field Summary
private  java.util.Enumeration<AlternateArrivalRoute> aarEnum
           
static java.lang.String CVS_VERSION_ID
          The CVS Version ID.
 
Fields inherited from class faa.tg.scenario.importer.XmlDomImporter
jdoc
 
Constructor Summary
XmlAarImporter(java.util.Properties scenProp)
           
XmlAarImporter(java.lang.String aUrl)
           
 
Method Summary
 AlternateArrivalRoute getNext()
          Returns the next object from an importer or null.
 AlternateArrivalRoute getNextAar()
           
private  java.util.Enumeration<AlternateArrivalRoute> importAars(java.net.URL aUrl)
           
private  AarCrossingLine readCrossingLine(org.w3c.dom.Element aEle)
           
 
Methods inherited from class faa.tg.scenario.importer.XmlDomImporter
error, fatalError, getBoolean, getElementNamed, getText, getXmlDocument, getXmlDocument, getXmlDocument, getXmlDocument, getXmlDocumentUsingSchema, makeSimpleElement, warning
 
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

aarEnum

private java.util.Enumeration<AlternateArrivalRoute> aarEnum
Constructor Detail

XmlAarImporter

public XmlAarImporter(java.util.Properties scenProp)
               throws java.net.MalformedURLException,
                      XmlUrlException
Throws:
java.net.MalformedURLException
XmlUrlException

XmlAarImporter

public XmlAarImporter(java.lang.String aUrl)
               throws java.net.MalformedURLException,
                      XmlUrlException
Throws:
java.net.MalformedURLException
XmlUrlException
Method Detail

importAars

private java.util.Enumeration<AlternateArrivalRoute> importAars(java.net.URL aUrl)

readCrossingLine

private AarCrossingLine readCrossingLine(org.w3c.dom.Element aEle)

getNextAar

public AlternateArrivalRoute getNextAar()

getNext

public AlternateArrivalRoute getNext()
Description copied from interface: Importer
Returns the next object from an importer or null.

Specified by:
getNext in interface Importer<AlternateArrivalRoute>
Returns:
the next object; null if none.