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.Gson
gson
-
Constructor Summary
Constructors Constructor Description CoreTranslationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull com.google.gson.JsonElement
translate(@NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull com.google.gson.JsonElement element)
@NotNull com.google.gson.JsonElement
translate(@NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull Reader reader)
void
translate(@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:
translate
in interfaceTranslationService
-
translate
@NotNull public @NotNull com.google.gson.JsonElement translate(@NotNull @NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull @NotNull Reader reader)
- Specified by:
translate
in interfaceTranslationService
-
translate
public void translate(@NotNull @NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull @NotNull Reader reader, @NotNull @NotNull Writer writer)
- Specified by:
translate
in interfaceTranslationService
-
-