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
-
Method Summary
-
Method Details
-
getData
- Returns:
- additional data to make available when rendering, which may be empty but never
null
-
getHardwrap
- Returns:
TRUE
to render newlines as breaks;FALSE
to retain newlines unchanged; ornull
to use the system-configured default (currentlytrue
)
-
getHtmlEscaped
- Returns:
TRUE
to escape HTML in the content when rendering;FALSE
to retain HTML unchanged; ornull
to use the system-configured default (currentlytrue
)
-
getIncludeHeadingId
- Returns:
TRUE
to include an ID on each rendered heading;FALSE
to omit them; ornull
to use the system-configured default (currentlyfalse
)- Since:
- 5.11
-
getUrlMode
- Returns:
- the mode to use when rendering URLs (
RELATIVE
by default)
-