Class MarkupHelper
java.lang.Object
com.aventstack.extentreports.markuputils.MarkupHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Markup
createCodeBlock
(String code) static Markup
createCodeBlock
(String code, CodeLanguage lang) static Markup
createCodeBlock
(String code1, String code2) static Markup
createCodeBlock
(String code1, String code2, String code3) static Markup
createCodeBlock
(String code1, String code2, String code3, String code4) static Markup
createCodeBlocks
(String[] code) static Markup
static Markup
createLabel
(String text, ExtentColor color) static Markup
Creates an ordered list from one of the following underlying collections List Map Setstatic Markup
createTable
(String[][] data) static Markup
createTable
(String[][] data, String cssClass) static Markup
createTable
(String[][] data, String[] cssClass) static Markup
Creates an unordered list from one of the following underlying collections List Map Setstatic Markup
static Markup
static Markup
-
Constructor Details
-
MarkupHelper
public MarkupHelper()
-
-
Method Details
-
createLabel
-
createCodeBlock
-
createCodeBlock
-
createCodeBlock
-
createCodeBlock
-
createCodeBlock
-
createCodeBlocks
-
createJsonCodeBlock
-
createOrderedList
Creates an ordered list from one of the following underlying collections- List
- Map
- Set
- Parameters:
o
- An iterable collection- Returns:
Markup
-
createUnorderedList
Creates an unordered list from one of the following underlying collections- List
- Map
- Set
- Parameters:
o
- An iterable collection- Returns:
Markup
-
createTable
-
createTable
-
createTable
-
toTable
-
toTable
-
toTable
-