Class ParseResult
- java.lang.Object
-
- com.day.cq.wcm.designimporter.parser.ParseResult
-
public class ParseResult extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ParseResult(java.util.List<PageComponent> components, HTMLContent headHtmlContent, HTMLContent bodyHtmlContent, java.lang.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.java.util.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.java.lang.StringgetLanguage()Gets the language specified in the input HTML document.
-
-
-
Constructor Detail
-
ParseResult
public ParseResult(java.util.List<PageComponent> components, HTMLContent headHtmlContent, HTMLContent bodyHtmlContent, java.lang.String language)
-
-
Method Detail
-
getComponents
public java.util.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 java.lang.String getLanguage()
Gets the language specified in the input HTML document.- Returns:
- The locale represented by the lang attribute in HTML
-
-