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 ModifiableHTMLContent
getBodyHtmlContent()
Gets theModifiableHTMLContent
associated with the body of the input HTML document.java.util.List<PageComponent>
getComponents()
Gets the list ofPageComponent
objects tranlated from the marked component divs during the import processModifiableHTMLContent
getHeadHtmlContent()
Gets theModifiableHTMLContent
associated with the head of the input HTML document.java.lang.String
getLanguage()
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 ofPageComponent
objects tranlated from the marked component divs during the import process- Returns:
- The
List
ofPageComponent
objects
-
getHeadHtmlContent
public ModifiableHTMLContent getHeadHtmlContent()
Gets theModifiableHTMLContent
associated with the head of the input HTML document.- Returns:
- The
ModifiableHTMLContent
-
getBodyHtmlContent
public ModifiableHTMLContent getBodyHtmlContent()
Gets theModifiableHTMLContent
associated 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
-
-