Top Description Fields Constructors Methods
com.vladsch.flexmark.ext.admonition

public Class AdmonitionBlock

extends Block
implements ParagraphContainer
Class Inheritance
All Implemented Interfaces
com.vladsch.flexmark.ast.ParagraphContainer
Imports
com.vladsch.flexmark.ast.Paragraph, .ParagraphContainer, com.vladsch.flexmark.util.ast.Block, com.vladsch.flexmark.util.sequence.BasedSequence, org.jetbrains.annotations.NotNull, java.util.List

An Admonition block node

Field Summary

Modifier and TypeField and Description
private BasedSequence
private BasedSequence
protected BasedSequence
protected BasedSequence
protected BasedSequence

Constructor Summary

AccessConstructor and Description
public
public
public

Method Summary

Modifier and TypeMethod and Description
public void
public BasedSequence
public BasedSequence
public @NotNull BasedSequence[]
public @NotNull BasedSequence[]
getSegmentsForChars()

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

Get the segments making up the node's characters.

public BasedSequence
public BasedSequence
public BasedSequence
public BasedSequence
public boolean
public boolean
public void
public void
public void
public void
public void
public void
Inherited from com.vladsch.flexmark.util.ast.Block:
getParentsetParent

Field Detail

infoback to summary
private BasedSequence info
openingMarkerback to summary
private BasedSequence openingMarker
titleback to summary
protected BasedSequence title
titleClosingMarkerback to summary
protected BasedSequence titleClosingMarker
titleOpeningMarkerback to summary
protected BasedSequence titleOpeningMarker

Constructor Detail

AdmonitionBlockback to summary
public AdmonitionBlock()
AdmonitionBlockback to summary
public AdmonitionBlock(BasedSequence chars)
AdmonitionBlockback to summary
public AdmonitionBlock(BasedSequence chars, BasedSequence openingMarker, BasedSequence info, List<BasedSequence> segments)

Method Detail

getAstExtraback to summary
public void getAstExtra(@NotNull StringBuilder out)
Annotations
@Override
getInfoback to summary
public BasedSequence getInfo()
getOpeningMarkerback to summary
public BasedSequence getOpeningMarker()
getSegmentsback to summary
public @NotNull BasedSequence[] getSegments()

Implements abstract com.vladsch.flexmark.util.ast.Node.getSegments.

Annotations
@NotNull
@Override
getSegmentsForCharsback to summary
public @NotNull BasedSequence[] getSegmentsForChars()

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

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

Get the segments making up the node's characters.

Used to get segments after the some of the node's elements were modified

Returns:@NotNull BasedSequence[]

array of segments

Annotations
@NotNull
@Override
getTitleback to summary
public BasedSequence getTitle()
getTitleCharsback to summary
public BasedSequence getTitleChars()
getTitleClosingMarkerback to summary
public BasedSequence getTitleClosingMarker()
getTitleOpeningMarkerback to summary
public BasedSequence getTitleOpeningMarker()
isParagraphEndWrappingDisabledback to summary
public boolean isParagraphEndWrappingDisabled(Paragraph node)

Implements com.vladsch.flexmark.ast.ParagraphContainer.isParagraphEndWrappingDisabled.

Annotations
@Override
isParagraphStartWrappingDisabledback to summary
public boolean isParagraphStartWrappingDisabled(Paragraph node)

Implements com.vladsch.flexmark.ast.ParagraphContainer.isParagraphStartWrappingDisabled.

Annotations
@Override
setInfoback to summary
public void setInfo(BasedSequence info)
setOpeningMarkerback to summary
public void setOpeningMarker(BasedSequence openingMarker)
setTitleback to summary
public void setTitle(BasedSequence title)
setTitleCharsback to summary
public void setTitleChars(BasedSequence titleChars)
setTitleClosingMarkerback to summary
public void setTitleClosingMarker(BasedSequence titleClosingMarker)
setTitleOpeningMarkerback to summary
public void setTitleOpeningMarker(BasedSequence titleOpeningMarker)