Class ModifiableHTMLContent


  • public class ModifiableHTMLContent
    extends HTMLContent
    Container for the HTML content of various type. Various types are classified by the enumeration HTMLContentType
    • Constructor Detail

      • ModifiableHTMLContent

        public ModifiableHTMLContent​(HTMLContent htmlContent)
    • Method Detail

      • set

        public void set​(HTMLContentType htmlContentType,
                        java.lang.Object content)
        Gets the content by type
        Parameters:
        htmlContentType - One of the values from the enumeration HTMLContentType
      • get

        public java.lang.Object get​(HTMLContentType htmlContentType)
        Gets the content by type
        Overrides:
        get in class HTMLContent
        Parameters:
        htmlContentType - One of the values from the enumeration HTMLContentType
        Returns:
        The content as per type
      • add

        public void add​(HTMLContentType htmlContentType,
                        java.lang.Object content)
        Adds content to this object according to the HTMLContentType
        Overrides:
        add in class HTMLContent
        Parameters:
        htmlContentType - One of the values from the enumeration HTMLContentType
        content - The content as per type