Class HTMLContent

  • Direct Known Subclasses:
    ModifiableHTMLContent

    public class HTMLContent
    extends java.lang.Object
    Container for the HTML content of various type. Various types are classified by the enumeration HTMLContentType
    • Constructor Summary

      Constructors 
      Constructor Description
      HTMLContent()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(HTMLContentType htmlContentType, java.lang.Object content)
      Adds content to this object according to the HTMLContentType
      java.lang.Object get​(HTMLContentType htmlContentType)
      Gets the content by type
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HTMLContent

        public HTMLContent()
    • Method Detail

      • get

        public java.lang.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,
                        java.lang.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