Package org.commonmark.node
Class ListBlock
- java.lang.Object
-
- org.commonmark.node.Node
-
- org.commonmark.node.Block
-
- org.commonmark.node.ListBlock
-
- Direct Known Subclasses:
BulletList
,OrderedList
public abstract class ListBlock extends Block
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
tight
-
Constructor Summary
Constructors Constructor Description ListBlock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isTight()
void
setTight(boolean tight)
-
Methods inherited from class org.commonmark.node.Node
accept, addSourceSpan, appendChild, getFirstChild, getLastChild, getNext, getPrevious, getSourceSpans, insertAfter, insertBefore, prependChild, setSourceSpans, toString, toStringAttributes, unlink
-
-
-
-
Method Detail
-
isTight
public boolean isTight()
- Returns:
- whether this list is tight or loose
- See Also:
- CommonMark Spec for tight lists
-
setTight
public void setTight(boolean tight)
-
-