Interface LinkResolverBasicContext
- All Known Subinterfaces:
LinkResolverContext
,NodeFormatterContext
,NodeRendererContext
- All Known Implementing Classes:
Formatter.MainNodeFormatter
,Formatter.MainNodeFormatter.SubNodeFormatter
,HtmlRenderer.MainNodeRenderer
,HtmlRenderer.MainNodeRenderer.SubNodeRenderer
,NodeFormatterSubContext
,NodeRendererSubContext
public interface LinkResolverBasicContext
-
Method Summary
Modifier and TypeMethodDescription@NotNull Document
@NotNull DataHolder
Get the current rendering contextDataHolder
.
-
Method Details
-
getOptions
Get the current rendering contextDataHolder
. These are the options passed or set on theHtmlRenderer.builder()
or passed toHtmlRenderer.builder(DataHolder)
. To get the document options you should usegetDocument()
as the data holder.- Returns:
- the current renderer options
DataHolder
-
getDocument
- Returns:
- the
Document
node of the current context
-