Package com.atlassian.bitbucket.markup
Class RenderContext
java.lang.Object
com.atlassian.bitbucket.markup.RenderContext
Context-specific data for rendering markup.
This information will be used by rendering components to determine context-specific information, such as whether URLs are absolute or relative.
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
getData
- Returns:
- additional data to make available when rendering, which may be empty but never
null
-
getHardwrap
- Returns:
TRUEto render newlines as breaks;FALSEto retain newlines unchanged; ornullto use the system-configured default (currentlytrue)
-
getHtmlEscaped
- Returns:
TRUEto escape HTML in the content when rendering;FALSEto retain HTML unchanged; ornullto use the system-configured default (currentlytrue)
-
getIncludeHeadingId
- Returns:
TRUEto include an ID on each rendered heading;FALSEto omit them; ornullto use the system-configured default (currentlyfalse)- Since:
- 5.11
-
getUrlMode
- Returns:
- the mode to use when rendering URLs (
RELATIVEby default)
-