Interface DocumentContent
-
- All Known Implementing Classes:
SiteRendererSink
public interface DocumentContentDocument content, that will be merged into a site template.- Since:
- 1.8
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>getAuthors()Get the authors of the document.java.lang.StringgetBody()Get the html body of the document.java.lang.StringgetDate()Get the date of the document.java.lang.StringgetHead()Get the html head of the document.DocumentRenderingContextgetRenderingContext()Get the document rendering context.java.lang.StringgetTitle()Get the title of the document.
-
-
-
Method Detail
-
getTitle
java.lang.String getTitle()
Get the title of the document.- Returns:
- the document title
-
getDate
java.lang.String getDate()
Get the date of the document.- Returns:
- the document date
-
getAuthors
java.util.List<java.lang.String> getAuthors()
Get the authors of the document.- Returns:
- the document authors
-
getHead
java.lang.String getHead()
Get the html head of the document.- Returns:
- the document html head
-
getBody
java.lang.String getBody()
Get the html body of the document.- Returns:
- the document body head
-
getRenderingContext
DocumentRenderingContext getRenderingContext()
Get the document rendering context.- Returns:
- the document rendering context
-
-