Package org.commonmark.ext.gfm.tables
Class TablesExtension.Builder
java.lang.Object
org.commonmark.ext.gfm.tables.TablesExtension.Builder
- Enclosing class:
- TablesExtension
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Set the maximum number of cells that are parsed for a single table; if more cells are present in the source, parsing will throw an exception.
-
Field Details
-
maxCells
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxCells
Set the maximum number of cells that are parsed for a single table; if more cells are present in the source, parsing will throw an exception. This is to guard against malicious input.The default is
TablesExtension.DEFAULT_MAX_CELLS; usenullfor no limit. -
build
- Returns:
- a configured extension
-