Class CoreTranslationService

    • Field Detail

      • gson

        protected static com.google.gson.Gson gson
    • Constructor Detail

      • CoreTranslationService

        public CoreTranslationService()
    • 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 interface TranslationService
      • 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 interface TranslationService
      • translate

        public void translate​(@NotNull
                              @NotNull org.apache.sling.api.SlingHttpServletRequest request,
                              @NotNull
                              @NotNull Reader reader,
                              @NotNull
                              @NotNull Writer writer)
        Specified by:
        translate in interface TranslationService