Class MarkupHelper
java.lang.Object
com.aventstack.extentreports.markuputils.MarkupHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MarkupcreateCodeBlock(String code) static MarkupcreateCodeBlock(String code, CodeLanguage lang) static MarkupcreateCodeBlock(String code1, String code2) static MarkupcreateCodeBlock(String code1, String code2, String code3) static MarkupcreateCodeBlock(String code1, String code2, String code3, String code4) static MarkupcreateCodeBlocks(String[] code) static Markupstatic MarkupcreateLabel(String text, ExtentColor color) static MarkupCreates an ordered list from one of the following underlying collections List Map Setstatic MarkupcreateTable(String[][] data) static MarkupcreateTable(String[][] data, String cssClass) static MarkupcreateTable(String[][] data, String[] cssClass) static MarkupCreates an unordered list from one of the following underlying collections List Map Setstatic Markupstatic Markupstatic 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
-