Class HTMLContent

    • Constructor Detail

      • HTMLContent

        public HTMLContent()
    • Method Detail

      • get

        public Object get​(HTMLContentType htmlContentType)
        Gets the content by type
        Parameters:
        htmlContentType - One of the values from the enumeration HTMLContentType
        Returns:
        The content as per type
      • add

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