Interface ITxtConverter


public interface ITxtConverter
A converter to create a translatable Node from a given XML string
Author:
I-D Media AG
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull String
    Get the identifier to allow a restoration
    @NotNull String
    Get the name of this converter
    @Nullable Element
    getXml(@NotNull String sRawXml, @NotNull String sLangSrc, @NotNull String sLangDest, @Nullable Locale pTargetLanguageLocale)
    Create XML representation from Text content
  • Method Details

    • getXml

      @Nullable @Nullable Element getXml(@NotNull @NotNull String sRawXml, @NotNull @NotNull String sLangSrc, @NotNull @NotNull String sLangDest, @Nullable @Nullable Locale pTargetLanguageLocale)
      Create XML representation from Text content
      Parameters:
      sRawXml - Raw XML as stored by the custom input component
      sLangSrc - Source Language
      sLangDest - Target Language
      pTargetLanguageLocale - Target Language Locale
      Returns:
      Might be null.
    • getIdentifier

      @NotNull @NotNull String getIdentifier()
      Get the identifier to allow a restoration
      Returns:
      Must not be null.
    • getName

      @NotNull @NotNull String getName()
      Get the name of this converter
      Returns:
      Name, must not be null