Class CoreTranslationService
- java.lang.Object
-
- com.composum.sling.core.service.impl.CoreTranslationService
-
- All Implemented Interfaces:
TranslationService
public class CoreTranslationService extends Object implements TranslationService
-
-
Field Summary
Fields Modifier and Type Field Description protected static com.google.gson.Gsongson
-
Constructor Summary
Constructors Constructor Description CoreTranslationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull com.google.gson.JsonElementtranslate(@NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull com.google.gson.JsonElement element)@NotNull com.google.gson.JsonElementtranslate(@NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull Reader reader)voidtranslate(@NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull Reader reader, @NotNull Writer writer)
-
-
-
Method Detail
-
translate
@NotNull public @NotNull com.google.gson.JsonElement translate(@NotNull @NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull @NotNull com.google.gson.JsonElement element)- Specified by:
translatein interfaceTranslationService
-
translate
@NotNull public @NotNull com.google.gson.JsonElement translate(@NotNull @NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull @NotNull Reader reader)- Specified by:
translatein interfaceTranslationService
-
translate
public void translate(@NotNull @NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull @NotNull Reader reader, @NotNull @NotNull Writer writer)- Specified by:
translatein interfaceTranslationService
-
-