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

Show file Open project: sillsdev/FieldWorks

Public Methods

Method Description
WriteInflClassesElement ( this writer, SIL.FieldWorks.FDO.FdoCache cache, string formID ) : void
WriteMorphInfoElements ( this writer, SIL.FieldWorks.FDO.FdoCache cache, string formID, string msaID, string wordType, string props ) : void
WriteMsaElement ( this writer, SIL.FieldWorks.FDO.FdoCache cache, string formID, string msaID, string type, string wordType ) : void

Private Methods

Method Description
HandleSlotInfoForInflectionalMsa ( XmlWriter writer, IMoInflAffMsa inflMsa, string type ) : void
ProcessMsaHvo ( string msaHvo ) : int>.Tuple
RequiresInflection ( IPartOfSpeech pos ) : bool

Determine if a PartOfSpeech requires inflection. If it or any of its parent POSes have a template, it requires inflection. If it is null we default to not requiring inflection.

WriteAffixAlloFeatsElement ( XmlWriter writer, IMoForm form, string propsText ) : void
WriteDerivMsaXmlElement ( XmlWriter writer, IMoDerivAffMsa derivMsa ) : void
WriteFeatureStructureFromHvoString ( XmlWriter writer, SIL.FieldWorks.FDO.FdoCache cache, string sFsHvo ) : void
WriteFeatureStructureNodes ( XmlWriter writer, IFsFeatStruc fs, int id, string sFsName = "fs" ) : void
WriteFromPosNodes ( XmlWriter writer, IFdoReferenceCollection fromPoSes, string sElementName ) : void
WriteInflMsaForLexEntryInflType ( XmlWriter writer, string wordType, ILexEntryInflType lexEntryInflType ) : void
WriteInflMsaXmlElement ( XmlWriter writer, IMoInflAffMsa inflMsa, string type ) : void
WriteInflectionClassXmlAttribute ( XmlWriter writer, IMoInflClass inflClass, string sInflClass ) : void
WriteInflectionClasses ( XmlWriter writer, SIL.FieldWorks.FDO.FdoCache fdoCache, int allomorphHvo ) : void
WriteInflectionClassesAndSubclassesXmlElement ( XmlWriter writer, IEnumerable inflectionClasses ) : void
WriteLexEntryInflTypeElement ( XmlWriter writer, string wordType, ILexEntryInflType lexEntryInflType ) : void
WriteNotAffixAlloFeatsElement ( XmlWriter writer, SIL.FieldWorks.FDO.FdoCache cache, string propsText ) : void
WriteNotStemNameElement ( XmlWriter writer, string propsText ) : void
WritePosXmlAttribute ( XmlWriter writer, IPartOfSpeech pos, string sCat ) : void
WriteProductivityRestrictionNodes ( XmlWriter writer, IFdoReferenceCollection prodRests, string sElementName ) : void
WriteRequiresInflectionXmlAttribute ( XmlWriter writer, IPartOfSpeech pos ) : void
WriteStemMsaXmlElement ( XmlWriter writer, IMoStemMsa stemMsa, IEnumerable variantEntryRefs ) : void
WriteStemNameAffixElement ( XmlWriter writer, SIL.FieldWorks.FDO.FdoCache cache, string props ) : void
WriteStemNameElement ( XmlWriter writer, IMoForm form, string props ) : void
WriteUnclassifedMsaXmlElement ( XmlWriter writer, IMoUnclassifiedAffixMsa unclassMsa ) : void

Method Details

WriteInflClassesElement() public static method

public static WriteInflClassesElement ( this writer, SIL.FieldWorks.FDO.FdoCache cache, string formID ) : void
writer this
cache SIL.FieldWorks.FDO.FdoCache
formID string
return void

WriteMorphInfoElements() public static method

public static WriteMorphInfoElements ( this writer, SIL.FieldWorks.FDO.FdoCache cache, string formID, string msaID, string wordType, string props ) : void
writer this
cache SIL.FieldWorks.FDO.FdoCache
formID string
msaID string
wordType string
props string
return void

WriteMsaElement() public static method

public static WriteMsaElement ( this writer, SIL.FieldWorks.FDO.FdoCache cache, string formID, string msaID, string type, string wordType ) : void
writer this
cache SIL.FieldWorks.FDO.FdoCache
formID string
msaID string
type string
wordType string
return void