Interface TranslationService

  • All Known Implementing Classes:
    CoreTranslationService

    public interface TranslationService
    Translates all strings in a JSON.
    • Method Summary

      All Methods Instance Methods Abstract 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
        @NotNull com.google.gson.JsonElement translate​(@NotNull
                                                       @NotNull org.apache.sling.api.SlingHttpServletRequest request,
                                                       @NotNull
                                                       @NotNull com.google.gson.JsonElement element)
      • translate

        @NotNull
        @NotNull com.google.gson.JsonElement translate​(@NotNull
                                                       @NotNull org.apache.sling.api.SlingHttpServletRequest request,
                                                       @NotNull
                                                       @NotNull Reader reader)
      • translate

        void translate​(@NotNull
                       @NotNull org.apache.sling.api.SlingHttpServletRequest request,
                       @NotNull
                       @NotNull Reader reader,
                       @NotNull
                       @NotNull Writer writer)