Tlumach
  • Articles
  • API Reference
Search Results for

    Show / Hide Table of Contents
    • Tlumach
      • Base
        • ArbParser
        • ArbPlaceholder
        • BaseGenerator
        • BaseJsonParser
        • BaseKeyValueParser
        • BaseParser
        • BaseTableParser
        • BaseXMLParser
        • CsvParser
        • CultureNameMatchEventArgs
        • FileFormats
        • GenericParserException
        • IniParser
        • JsonParser
        • ParserConfigException
        • ParserFileException
        • ParserLoadException
        • Placeholder
        • ResxParser
        • TemplateParserException
        • TemplateProcessingException
        • TextFileParseException
        • TextFormat
        • TextParseException
        • TlumachException
        • TomlParser
        • Translation
        • TranslationConfiguration
        • TranslationEntry
        • TranslationTree
        • TranslationTreeLeaf
        • TranslationTreeNode
        • TsvParser
        • Utils
      • BaseTranslationUnit
      • CultureChangedEventArgs
      • FileContentNeededEventArgs
      • TemplatedTranslationUnit
      • TranslationManager
      • TranslationUnit
      • TranslationValueEventArgs

    Class BaseXMLParser

    Inheritance
    object
    BaseParser
    BaseXMLParser
    ResxParser
    Inherited Members
    BaseParser.RecognizeFileRefs
    BaseParser.UseDefaultFileForTranslations
    BaseParser.StringHasParameters(string, TextFormat)
    BaseParser.GetTextProcessingMode()
    BaseParser.GetLocaleSeparatorChar()
    BaseParser.LoadTranslationStructure(string, string, out TranslationConfiguration)
    BaseParser.CanHandleExtension(string)
    BaseParser.ParseConfigurationFile(string)
    BaseParser.ParseConfigurationFile(Assembly, string)
    BaseParser.InternalLoadTranslationStructure(string)
    BaseParser.ValidateConfiguration(TranslationConfiguration)
    BaseParser.GetAbsolutePosition(string, int, int)
    BaseParser.DecodeTextProcessingMode(string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Tlumach.Base
    Assembly: Tlumach.Base.dll
    Syntax
    public abstract class BaseXMLParser : BaseParser

    Fields

    CXmlNamespace

    Declaration
    protected static readonly XNamespace CXmlNamespace
    Field Value
    Type Description
    XNamespace

    Methods

    InternalLoadTranslationEntriesFromXML(XElement, Translation?, string)

    Declaration
    protected abstract Translation InternalLoadTranslationEntriesFromXML(XElement parentNode, Translation? translation, string groupName)
    Parameters
    Type Name Description
    XElement parentNode
    Translation translation
    string groupName
    Returns
    Type Description
    Translation

    LoadTranslation(string, CultureInfo?)

    Loads the translation information from the file and returns a translation.

    Declaration
    public override Translation? LoadTranslation(string translationText, CultureInfo? culture)
    Parameters
    Type Name Description
    string translationText

    The text of the file to load.

    CultureInfo culture

    An 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.

    Returns
    Type Description
    Translation

    The loaded translation or null if loading failed.

    Overrides
    BaseParser.LoadTranslation(string, CultureInfo?)

    ParseConfiguration(string, Assembly?)

    Declaration
    public override TranslationConfiguration? ParseConfiguration(string fileContent, Assembly? assembly)
    Parameters
    Type Name Description
    string fileContent
    Assembly assembly
    Returns
    Type Description
    TranslationConfiguration
    Overrides
    BaseParser.ParseConfiguration(string, Assembly?)
    In this article
    Back to top Generated by DocFX