Class ParseResult
java.lang.Object
com.day.cq.wcm.designimporter.parser.ParseResult
-
Constructor Summary
ConstructorsConstructorDescriptionParseResult(List<PageComponent> components, HTMLContent headHtmlContent, HTMLContent bodyHtmlContent, String language) -
Method Summary
Modifier and TypeMethodDescriptionGets theModifiableHTMLContentassociated with the body of the input HTML document.Gets the list ofPageComponentobjects tranlated from the marked component divs during the import processGets theModifiableHTMLContentassociated with the head of the input HTML document.Gets the language specified in the input HTML document.
-
Constructor Details
-
ParseResult
public ParseResult(List<PageComponent> components, HTMLContent headHtmlContent, HTMLContent bodyHtmlContent, String language)
-
-
Method Details
-
getComponents
Gets the list ofPageComponentobjects tranlated from the marked component divs during the import process- Returns:
- The
ListofPageComponentobjects
-
getHeadHtmlContent
Gets theModifiableHTMLContentassociated with the head of the input HTML document.- Returns:
- The
ModifiableHTMLContent
-
getBodyHtmlContent
Gets theModifiableHTMLContentassociated with the body of the input HTML document.- Returns:
- The
ModifiableHTMLContent
-
getLanguage
Gets the language specified in the input HTML document.- Returns:
- The locale represented by the lang attribute in HTML
-