Top Fields Constructors Methods
com.vladsch.flexmark.ast

public abstract Class ListBlock

extends Block
implements BlankLineContainer
Class Inheritance
All Implemented Interfaces
com.vladsch.flexmark.util.ast.BlankLineContainer
Known Direct Subclasses
com.vladsch.flexmark.ast.OrderedList, com.vladsch.flexmark.ast.BulletList
Imports
com.vladsch.flexmark.util.ast.BlankLineContainer, .Block, .BlockContent, .Node, com.vladsch.flexmark.util.sequence.BasedSequence, org.jetbrains.annotations.NotNull, java.util.List

Field Summary

Modifier and TypeField and Description
private boolean

Constructor Summary

AccessConstructor and Description
public
public
public
public
ListBlock(BlockContent blockContent)

Method Summary

Modifier and TypeMethod and Description
public void
public Node
getLastBlankLineChild()

Overrides com.vladsch.flexmark.util.ast.Node.getLastBlankLineChild.

Overridden by ListBlock and any others whose children propagate their blank line to parent

public boolean
public boolean
public void
setLoose(boolean loose)

public void
setTight(boolean tight)

Inherited from com.vladsch.flexmark.util.ast.Block:
getParentsetParent

Field Detail

tightback to summary
private boolean tight

Constructor Detail

ListBlockback to summary
public ListBlock()
ListBlockback to summary
public ListBlock(BasedSequence chars)
ListBlockback to summary
public ListBlock(BasedSequence chars, List<BasedSequence> segments)
ListBlockback to summary
public ListBlock(BlockContent blockContent)

Method Detail

getAstExtraback to summary
public void getAstExtra(@NotNull StringBuilder out)
Annotations
@Override
getLastBlankLineChildback to summary
public Node getLastBlankLineChild()

Overrides com.vladsch.flexmark.util.ast.Node.getLastBlankLineChild.

Doc from com.vladsch.flexmark.util.ast.Node.getLastBlankLineChild.

Overridden by ListBlock and any others whose children propagate their blank line to parent

Returns:Node

return a child block that can contain the parent's last blank line

Annotations
@Override
isLooseback to summary
public boolean isLoose()
isTightback to summary
public boolean isTight()
setLooseback to summary
public void setLoose(boolean loose)
setTightback to summary
public void setTight(boolean tight)