public class TablesExtension extends Object implements Parser.ParserExtension, HtmlRenderer.HtmlRendererExtension
Create it with create() and then configure it on the builders
(Parser.Builder.extensions(Iterable),
HtmlRenderer.Builder.extensions(Iterable)).
The parsed tables are turned into TableBlock blocks.
| Modifier and Type | Field and Description |
|---|---|
static DataKey<Boolean> |
APPEND_MISSING_COLUMNS |
static DataKey<String> |
CLASS_NAME |
static DataKey<Boolean> |
COLUMN_SPANS |
static DataKey<Boolean> |
DISCARD_EXTRA_COLUMNS |
static DataKey<Boolean> |
HEADER_SEPARATOR_COLUMN_MATCH |
static DataKey<Integer> |
MAX_HEADER_ROWS |
static DataKey<Integer> |
MIN_HEADER_ROWS |
static DataKey<Boolean> |
TRIM_CELL_WHITESPACE |
EMPTY_LIST, EMPTY_SET| Constructor and Description |
|---|
TablesExtension() |
| Modifier and Type | Method and Description |
|---|---|
static Extension |
create() |
void |
extend(HtmlRenderer.Builder rendererBuilder,
String rendererType) |
void |
extend(Parser.Builder parserBuilder) |
public static Extension create()
public void extend(Parser.Builder parserBuilder)
extend in interface Parser.ParserExtensionpublic void extend(HtmlRenderer.Builder rendererBuilder, String rendererType)
extend in interface HtmlRenderer.HtmlRendererExtensionCopyright © 2016. All rights reserved.