Class ParseResult
- java.lang.Object
-
- com.day.cq.wcm.designimporter.parser.ParseResult
-
public class ParseResult extends Object
-
-
Constructor Summary
Constructors Constructor Description ParseResult(List<PageComponent> components, HTMLContent headHtmlContent, HTMLContent bodyHtmlContent, String language)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifiableHTMLContentgetBodyHtmlContent()Gets theModifiableHTMLContentassociated with the body of the input HTML document.List<PageComponent>getComponents()Gets the list ofPageComponentobjects tranlated from the marked component divs during the import processModifiableHTMLContentgetHeadHtmlContent()Gets theModifiableHTMLContentassociated with the head of the input HTML document.StringgetLanguage()Gets the language specified in the input HTML document.
-
-
-
Constructor Detail
-
ParseResult
public ParseResult(List<PageComponent> components, HTMLContent headHtmlContent, HTMLContent bodyHtmlContent, String language)
-
-
Method Detail
-
getComponents
public List<PageComponent> getComponents()
Gets the list ofPageComponentobjects tranlated from the marked component divs during the import process- Returns:
- The
ListofPageComponentobjects
-
getHeadHtmlContent
public ModifiableHTMLContent getHeadHtmlContent()
Gets theModifiableHTMLContentassociated with the head of the input HTML document.- Returns:
- The
ModifiableHTMLContent
-
getBodyHtmlContent
public ModifiableHTMLContent getBodyHtmlContent()
Gets theModifiableHTMLContentassociated with the body of the input HTML document.- Returns:
- The
ModifiableHTMLContent
-
getLanguage
public String getLanguage()
Gets the language specified in the input HTML document.- Returns:
- The locale represented by the lang attribute in HTML
-
-