Class PageInsightRequestImpl
- java.lang.Object
-
- org.apache.sling.cms.core.insights.impl.PageInsightRequestImpl
-
- All Implemented Interfaces:
InsightRequest,PageInsightRequest
public class PageInsightRequestImpl extends Object implements PageInsightRequest
Implementation of the PageInsightRequest interface
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.sling.cms.insights.InsightRequest
InsightRequest.TYPE
-
-
Constructor Summary
Constructors Constructor Description PageInsightRequestImpl(Page page, org.apache.sling.engine.SlingRequestProcessor requestProcessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PagegetPage()org.jsoup.nodes.ElementgetPageBodyElement()StringgetPageBodyHtml()org.jsoup.nodes.DocumentgetPageDocument()StringgetPageHtml()org.apache.sling.api.resource.ResourcegetResource()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.sling.cms.insights.PageInsightRequest
getType
-
-
-
-
Constructor Detail
-
PageInsightRequestImpl
public PageInsightRequestImpl(Page page, org.apache.sling.engine.SlingRequestProcessor requestProcessor)
-
-
Method Detail
-
getPage
public Page getPage()
- Specified by:
getPagein interfacePageInsightRequest
-
getPageBodyElement
public org.jsoup.nodes.Element getPageBodyElement() throws IOException- Specified by:
getPageBodyElementin interfacePageInsightRequest- Throws:
IOException
-
getPageBodyHtml
public String getPageBodyHtml() throws IOException
- Specified by:
getPageBodyHtmlin interfacePageInsightRequest- Throws:
IOException
-
getPageDocument
public org.jsoup.nodes.Document getPageDocument() throws IOException- Specified by:
getPageDocumentin interfacePageInsightRequest- Throws:
IOException
-
getPageHtml
public String getPageHtml() throws IOException
- Specified by:
getPageHtmlin interfacePageInsightRequest- Throws:
IOException
-
getResource
public org.apache.sling.api.resource.Resource getResource()
- Specified by:
getResourcein interfaceInsightRequest
-
-