Class ModifiableHTMLContent
java.lang.Object
com.day.cq.wcm.designimporter.parser.HTMLContent
com.day.cq.wcm.designimporter.parser.ModifiableHTMLContent
Container for the HTML content of various type. Various types are classified
by the enumeration
HTMLContentType-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(HTMLContentType htmlContentType, Object content) Adds content to this object according to theHTMLContentTypeget(HTMLContentType htmlContentType) Gets the content by typevoidset(HTMLContentType htmlContentType, Object content) Gets the content by type
-
Constructor Details
-
ModifiableHTMLContent
-
-
Method Details
-
set
Gets the content by type- Parameters:
htmlContentType- One of the values from the enumerationHTMLContentType
-
get
Gets the content by type- Overrides:
getin classHTMLContent- Parameters:
htmlContentType- One of the values from the enumerationHTMLContentType- Returns:
- The content as per type
-
add
Adds content to this object according to theHTMLContentType- Overrides:
addin classHTMLContent- Parameters:
htmlContentType- One of the values from the enumerationHTMLContentTypecontent- The content as per type
-