faa.tg.scenario.importer
Class XmlControlLogicImporter

java.lang.Object
  extended by faa.tg.scenario.importer.XmlDomImporter
      extended by faa.tg.scenario.importer.XmlControlLogicImporter
All Implemented Interfaces:
org.xml.sax.ErrorHandler

Deprecated.

public class XmlControlLogicImporter
extends XmlDomImporter

XmlControlLogicImporter is an XmlDomImporter class that is responsible for the instantiation of an ControlLogic object whose properties are specified in an XML document defined by an external DTD. See the source: XmlControlLogicImporter.java

Version:
$Id: XmlControlLogicImporter.java,v 3.3 2008/01/09 21:05:34 lykensj Exp $
Author:
Tim Kimmet
See Also:
aircraft.dtd , 737_ControlLogic.xml, XmlAircraftImporter, XmlDomImporter, XmlElementNames

Field Summary
private  ControlLogicGains controlLogicGains
          Deprecated.  
static java.lang.String CVS_VERSION_ID
          Deprecated. The CVS Version ID
private  ControlLogic theControlLogic
          Deprecated.  
private  Gains theGains
          Deprecated.  
 
Fields inherited from class faa.tg.scenario.importer.XmlDomImporter
jdoc
 
Constructor Summary
XmlControlLogicImporter(org.w3c.dom.Element controlLogicElement)
          Deprecated. If an ControlLogic is defined with the ControlLogic_XML_URL element tag, then we must grab the ControlLogic data from an external xml file based on the dtd.
 
Method Summary
 ControlLogic getControlLogic()
          Deprecated. Gets the ControlLogic constructed by this importer
 ControlLogicGains getControlLogicGains()
          Deprecated.  
 Gains getGains()
          Deprecated.  
 
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
Deprecated. 
The CVS Version ID

See Also:
Constant Field Values

theControlLogic

private ControlLogic theControlLogic
Deprecated. 

controlLogicGains

private ControlLogicGains controlLogicGains
Deprecated. 

theGains

private Gains theGains
Deprecated. 
Constructor Detail

XmlControlLogicImporter

public XmlControlLogicImporter(org.w3c.dom.Element controlLogicElement)
                        throws java.net.MalformedURLException,
                               XmlUrlException
Deprecated. 
If an ControlLogic is defined with the ControlLogic_XML_URL element tag, then we must grab the ControlLogic data from an external xml file based on the dtd. Otherwise, we grab the data from the xml file and construct an ControlLogic object.

Basically, the data for Control Logic maybe located in one of two places. Either in a external xml file, or in the incoming Element.

Imports an Control Logic based upon an Element.

Parameters:
controlLogicElement - The element that contains the data for Control Logic.
Throws:
MalformedURLException - is thrown when a malformed URL occurs.
XmlUrlException - is unable to find file or its dtd/schema
Method Detail

getControlLogic

public ControlLogic getControlLogic()
Deprecated. 
Gets the ControlLogic constructed by this importer

Returns:
ControlLogic The ControlLogic created by this importer.

getControlLogicGains

public ControlLogicGains getControlLogicGains()
Deprecated. 

getGains

public Gains getGains()
Deprecated.