Class ModifiableHTMLContent
- java.lang.Object
 - 
- com.day.cq.wcm.designimporter.parser.HTMLContent
 - 
- com.day.cq.wcm.designimporter.parser.ModifiableHTMLContent
 
 
 
- 
public class ModifiableHTMLContent extends HTMLContent
Container for the HTML content of various type. Various types are classified by the enumerationHTMLContentType 
- 
- 
Constructor Summary
Constructors Constructor Description ModifiableHTMLContent(HTMLContent htmlContent) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(HTMLContentType htmlContentType, java.lang.Object content)Adds content to this object according to theHTMLContentTypejava.lang.Objectget(HTMLContentType htmlContentType)Gets the content by typevoidset(HTMLContentType htmlContentType, java.lang.Object content)Gets the content by type 
 - 
 
- 
- 
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 enumerationHTMLContentType
 
- 
get
public java.lang.Object get(HTMLContentType htmlContentType)
Gets the content by type- Overrides:
 getin classHTMLContent- Parameters:
 htmlContentType- One of the values from the enumerationHTMLContentType- Returns:
 - The content as per type
 
 
- 
add
public void add(HTMLContentType htmlContentType, java.lang.Object content)
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
 
 - 
 
 -