public class RenderContext extends Object
This information will be used by rendering components to determine context-specific information, such as whether URLs are absolute or relative.
Modifier and Type | Class and Description |
---|---|
static class |
RenderContext.Builder |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getData() |
Boolean |
getHardwrap() |
Boolean |
getHtmlEscaped() |
Boolean |
getIncludeHeadingId() |
UrlMode |
getUrlMode() |
@Nonnull public Map<String,Object> getData()
null
@Nullable public Boolean getHardwrap()
TRUE
to render newlines as breaks; FALSE
to retain newlines unchanged; or null
to use the system-configured default (currently true
)@Nullable public Boolean getHtmlEscaped()
TRUE
to escape HTML in the content when rendering; FALSE
to retain HTML unchanged; or
null
to use the system-configured default (currently true
)@Nullable public Boolean getIncludeHeadingId()
TRUE
to include an ID on each rendered heading; FALSE
to omit them; or null
to use the system-configured default (currently false
)Copyright © 2019 Atlassian. All rights reserved.