C# Class ATML1671Translator.translator.ATMLTranslator

Show file Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Public Properties

Property Type Description
SOURCE string

Public Methods

Method Description
CompareTestDescriptionToSource ( string xmlTestDescription ) : void
IsNavigatable ( ) : bool
IsParsible ( ) : bool
ParseSourceDocument ( ) : void
SaveSourceDocument ( ) : void
SetContent ( FileInfo fileInfo, byte content ) : void
SetContent ( byte content ) : void
SetNavigator ( ITranslatorNavigator navigator ) : void
TranslateAIXML ( ) : void
TranslateAIXMLDocument ( ) : void

Protected Methods

Method Description
OnAixmlParseCompleted ( ) : void
OnAixmlParseStarted ( ) : void
OnAixmlTranslationCompleted ( string xmlTestDescription ) : void
OnAixmlTranslationStarted ( ) : void
OnAtmlDocumentOpened ( Document document ) : void
OnAtmlFileOpened ( FileInfo fi, byte content ) : void
OnDocumentParsed ( TestDescription td, string xml ) : void
OnOpenSourceDocument ( FileInfo fi, byte content ) : void
OnProjectClosed ( ) : void
OnProjectOpened ( string testProgramSetName ) : void
OnTestDescriptionCreated ( TestDescription td, string xml ) : void
OnTestDescriptionOpened ( TestDescription testdescription, string xml ) : void

Private Methods

Method Description
ATMLTranslator ( ) : System
ATMLTranslator_ProjectClosed ( ) : void
ATMLTranslator_ProjectOpened ( string testProgramSetName ) : void
GetXSLReader ( string xslName ) : StringReader
LoadTestDescriptionFile ( string fileName ) : void
_navigator_SelectATMLTestDescription ( object sender, FileInfo e ) : void
_navigator_SelectSourceDocument ( object sender, FileInfo e ) : void
exeProcess_ErrorDataReceived ( object sender, DataReceivedEventArgs e ) : void
exeProcess_OutputDataReceived ( object sender, DataReceivedEventArgs e ) : void

Method Details

CompareTestDescriptionToSource() public static method

public static CompareTestDescriptionToSource ( string xmlTestDescription ) : void
xmlTestDescription string
return void

IsNavigatable() public method

public IsNavigatable ( ) : bool
return bool

IsParsible() public method

public IsParsible ( ) : bool
return bool

OnAixmlParseCompleted() protected method

protected OnAixmlParseCompleted ( ) : void
return void

OnAixmlParseStarted() protected method

protected OnAixmlParseStarted ( ) : void
return void

OnAixmlTranslationCompleted() protected method

protected OnAixmlTranslationCompleted ( string xmlTestDescription ) : void
xmlTestDescription string
return void

OnAixmlTranslationStarted() protected method

protected OnAixmlTranslationStarted ( ) : void
return void

OnAtmlDocumentOpened() protected method

protected OnAtmlDocumentOpened ( Document document ) : void
document Document
return void

OnAtmlFileOpened() protected method

protected OnAtmlFileOpened ( FileInfo fi, byte content ) : void
fi System.IO.FileInfo
content byte
return void

OnDocumentParsed() protected method

protected OnDocumentParsed ( TestDescription td, string xml ) : void
td ATMLModelLibrary.model.TestDescription
xml string
return void

OnOpenSourceDocument() protected method

protected OnOpenSourceDocument ( FileInfo fi, byte content ) : void
fi System.IO.FileInfo
content byte
return void

OnProjectClosed() protected method

protected OnProjectClosed ( ) : void
return void

OnProjectOpened() protected method

protected OnProjectOpened ( string testProgramSetName ) : void
testProgramSetName string
return void

OnTestDescriptionCreated() protected method

protected OnTestDescriptionCreated ( TestDescription td, string xml ) : void
td ATMLModelLibrary.model.TestDescription
xml string
return void

OnTestDescriptionOpened() protected method

protected OnTestDescriptionOpened ( TestDescription testdescription, string xml ) : void
testdescription ATMLModelLibrary.model.TestDescription
xml string
return void

ParseSourceDocument() public method

public ParseSourceDocument ( ) : void
return void

SaveSourceDocument() public method

public SaveSourceDocument ( ) : void
return void

SetContent() public method

public SetContent ( FileInfo fileInfo, byte content ) : void
fileInfo System.IO.FileInfo
content byte
return void

SetContent() public method

public SetContent ( byte content ) : void
content byte
return void

SetNavigator() public method

public SetNavigator ( ITranslatorNavigator navigator ) : void
navigator ITranslatorNavigator
return void

TranslateAIXML() public method

public TranslateAIXML ( ) : void
return void

TranslateAIXMLDocument() public method

public TranslateAIXMLDocument ( ) : void
return void

Property Details

SOURCE public static property

public static string SOURCE
return string