Class HTMLContent
- java.lang.Object
 - 
- com.day.cq.wcm.designimporter.parser.HTMLContent
 
 
- 
- Direct Known Subclasses:
 ModifiableHTMLContent
public class HTMLContent extends java.lang.ObjectContainer for the HTML content of various type. Various types are classified by the enumerationHTMLContentType 
- 
- 
Constructor Summary
Constructors Constructor Description 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 type 
 - 
 
- 
- 
Method Detail
- 
get
public java.lang.Object get(HTMLContentType htmlContentType)
Gets the content by type- 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- Parameters:
 htmlContentType- One of the values from the enumerationHTMLContentTypecontent- The content as per type
 
 - 
 
 -