Class HTML


  • public class HTML
    extends RenderElement
    Only supported in Word, Excel, HTML and Md templates. HTML text can be rendered and put in templates.
    • Constructor Summary

      Constructors 
      Constructor Description
      HTML​(java.lang.String name, java.lang.String HTMLText)
      HTML text can be rendered and put in templates.
    • Constructor Detail

      • HTML

        public HTML​(java.lang.String name,
                    java.lang.String HTMLText)
        HTML text can be rendered and put in templates.
        Parameters:
        name - Name of this html element for the tag.
        HTMLText - HTML text.
    • Method Detail

      • getJSON

        public com.google.gson.JsonObject getJSON()
        Specified by:
        getJSON in class RenderElement
        Returns:
        JSONObject with the tags for this HTML element for the Cloud Office Print server.
      • getTemplateTags

        public java.util.Set<java.lang.String> getTemplateTags()
        Specified by:
        getTemplateTags in class RenderElement
        Returns:
        An immutable set containing all available template tags this element can replace.