Class BaseXMLParser
public abstract class BaseXMLParser : BaseParser
- Inheritance
-
BaseXMLParser
- Derived
- Inherited Members
Fields
CXmlNamespace
protected static readonly XNamespace CXmlNamespace
Field Value
Methods
InternalLoadTranslationEntriesFromXML(XElement, Translation?, string, TextFormat?)
protected abstract Translation InternalLoadTranslationEntriesFromXML(XElement parentNode, Translation? translation, string groupName, TextFormat? textProcessingMode)
Parameters
parentNodeXElementtranslationTranslationgroupNamestringtextProcessingModeTextFormat?
Returns
LoadTranslation(string, CultureInfo?, TextFormat?)
Loads the translation information from the file and returns a translation.
public override Translation? LoadTranslation(string translationText, CultureInfo? culture, TextFormat? textProcessingMode)
Parameters
translationTextstringThe text of the file to load.
cultureCultureInfoAn optional reference to the locale, whose translation is to be loaded. Makes sense for CSV and TSV formats that may contain multiple translations in one file.
textProcessingModeTextFormat?The mode of processing of the text of the translation file.
Returns
- Translation
The loaded translation or null if loading failed.
ParseConfiguration(string, Assembly?)
public override TranslationConfiguration? ParseConfiguration(string fileContent, Assembly? assembly)