Package com.atlassian.bitbucket.markup
Class RenderContext.Builder
java.lang.Object
com.atlassian.bitbucket.markup.RenderContext.Builder
- Enclosing class:
- RenderContext
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Clears any provideddata.hardwrap(boolean value) htmlEscape(boolean value) htmlEscape(Boolean value) includeHeadingId(boolean value) includeHeadingId(Boolean value) 
- 
Constructor Details- 
Builderpublic Builder()
- 
Builder
 
- 
- 
Method Details- 
build- Returns:
- the built context
 
- 
clearDataClears any provideddata.- Returns:
- this
 
- 
data- Parameters:
- value- a map containing additional data to make available when rendering, which is appended to any existing data
- Returns:
- this
 
- 
hardwrap- Parameters:
- value-- trueto convert newlines to breaks; otherwise,- falseto leave them intact
- Returns:
- this
 
- 
hardwrap- Parameters:
- value-- TRUEto convert newlines to breaks;- FALSEto leave them intact; or- nullto use the system-configured default
- Returns:
- this
- Since:
- 5.11
 
- 
htmlEscape- Parameters:
- value-- trueif HTML should be escaped in the input markup; otherwise,- falseto retain HTML
- Returns:
- this
 
- 
htmlEscape- Parameters:
- value-- TRUEif HTML should be escaped in the input markup;- FALSEto retain HTML; or- nullto use the system-configured default
- Returns:
- this
- Since:
- 5.11
 
- 
includeHeadingId- Parameters:
- value-- trueif an ID should be added for each rendered header rendered; otherwise,- falseto render headers without IDs
- Returns:
- this
- Since:
- 5.11
 
- 
includeHeadingId- Parameters:
- value-- TRUEif an ID should be added for each rendered header rendered;- FALSEto render headers without IDs; or- nullto use the system-configured default
- Returns:
- this
- Since:
- 5.11
 
- 
urlMode- Parameters:
- value- the mode to use when rendering URLs
- Returns:
- this
 
 
-