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 TypeMethodDescription@NotNull StringGet the identifier to allow a restoration@NotNull StringgetName()Get the name of this converter@Nullable ElementgetXml(@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 componentsLangSrc- Source LanguagesLangDest- Target LanguagepTargetLanguageLocale- Target Language Locale- Returns:
- Might be
null.
-
getIdentifier
Get the identifier to allow a restoration- Returns:
- Must not be
null.
-
getName
Get the name of this converter- Returns:
- Name, must not be
null
-