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 |
static DataKey<Boolean> |
WITH_CAPTION |
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) |
void |
parserOptions(MutableDataHolder options) |
void |
rendererOptions(MutableDataHolder options) |
public static Extension create()
public void rendererOptions(MutableDataHolder options)
rendererOptions in interface HtmlRenderer.HtmlRendererExtensionpublic void parserOptions(MutableDataHolder options)
parserOptions in interface Parser.ParserExtensionpublic void extend(Parser.Builder parserBuilder)
extend in interface Parser.ParserExtensionpublic void extend(HtmlRenderer.Builder rendererBuilder, String rendererType)
extend in interface HtmlRenderer.HtmlRendererExtensionCopyright © 2017. All rights reserved.