C# Class SIL.FieldWorks.WordWorks.Parser.XAmpleParser

Inheritance: SIL.Utils.FwDisposableBase, IParser
Show file Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
IsUpToDate ( ) : bool
ParseWord ( string word ) : ParseResult
ParseWordXml ( string word ) : System.Xml.Linq.XDocument
Reset ( ) : void
TraceWordXml ( string word, IEnumerable selectTraceMorphs ) : System.Xml.Linq.XDocument
Update ( ) : void
XAmpleParser ( SIL.FieldWorks.FDO.FdoCache cache, string dataDir ) : System

Protected Methods

Method Description
DisposeManagedResources ( ) : void

Private Methods

Method Description
ConvertFailures ( System.Xml.Linq.XDocument doc, Func strRepSelector ) : void
ConvertNameToUseAnsiCharacters ( string originalName ) : string

Convert any characters in the name which are higher than 0x00FF to hex. Neither XAmple nor PC-PATR can read a file name containing letters above 0x00FF.

GetStrRep ( int classID, int hvo ) : string
ProcessMsaHvo ( string msaHvo ) : int>.Tuple
TryCreateParseMorph ( SIL.FieldWorks.FDO.FdoCache cache, System.Xml.Linq.XElement morphElem, ParseMorph &morph ) : bool

Method Details

DisposeManagedResources() protected method

protected DisposeManagedResources ( ) : void
return void

IsUpToDate() public method

public IsUpToDate ( ) : bool
return bool

ParseWord() public method

public ParseWord ( string word ) : ParseResult
word string
return ParseResult

ParseWordXml() public method

public ParseWordXml ( string word ) : System.Xml.Linq.XDocument
word string
return System.Xml.Linq.XDocument

Reset() public method

public Reset ( ) : void
return void

TraceWordXml() public method

public TraceWordXml ( string word, IEnumerable selectTraceMorphs ) : System.Xml.Linq.XDocument
word string
selectTraceMorphs IEnumerable
return System.Xml.Linq.XDocument

Update() public method

public Update ( ) : void
return void

XAmpleParser() public method

public XAmpleParser ( SIL.FieldWorks.FDO.FdoCache cache, string dataDir ) : System
cache SIL.FieldWorks.FDO.FdoCache
dataDir string
return System