Class AdmonitionBlock
- java.lang.Object
-
- com.vladsch.flexmark.util.ast.Node
-
- com.vladsch.flexmark.util.ast.ContentNode
-
- com.vladsch.flexmark.util.ast.Block
-
- com.vladsch.flexmark.ext.admonition.AdmonitionBlock
-
- All Implemented Interfaces:
com.vladsch.flexmark.ast.ParagraphContainer,com.vladsch.flexmark.util.ast.Content
public class AdmonitionBlock extends com.vladsch.flexmark.util.ast.Block implements com.vladsch.flexmark.ast.ParagraphContainerAn Admonition block node
-
-
Field Summary
Fields Modifier and Type Field Description protected com.vladsch.flexmark.util.sequence.BasedSequencetitleprotected com.vladsch.flexmark.util.sequence.BasedSequencetitleClosingMarkerprotected com.vladsch.flexmark.util.sequence.BasedSequencetitleOpeningMarker
-
Constructor Summary
Constructors Constructor Description AdmonitionBlock()AdmonitionBlock(com.vladsch.flexmark.util.sequence.BasedSequence chars)AdmonitionBlock(com.vladsch.flexmark.util.sequence.BasedSequence chars, com.vladsch.flexmark.util.sequence.BasedSequence openingMarker, com.vladsch.flexmark.util.sequence.BasedSequence info, List<com.vladsch.flexmark.util.sequence.BasedSequence> segments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgetAstExtra(@NotNull StringBuilder out)com.vladsch.flexmark.util.sequence.BasedSequencegetInfo()com.vladsch.flexmark.util.sequence.BasedSequencegetOpeningMarker()@NotNull com.vladsch.flexmark.util.sequence.BasedSequence[]getSegments()@NotNull com.vladsch.flexmark.util.sequence.BasedSequence[]getSegmentsForChars()com.vladsch.flexmark.util.sequence.BasedSequencegetTitle()com.vladsch.flexmark.util.sequence.BasedSequencegetTitleChars()com.vladsch.flexmark.util.sequence.BasedSequencegetTitleClosingMarker()com.vladsch.flexmark.util.sequence.BasedSequencegetTitleOpeningMarker()booleanisParagraphEndWrappingDisabled(com.vladsch.flexmark.ast.Paragraph node)booleanisParagraphStartWrappingDisabled(com.vladsch.flexmark.ast.Paragraph node)voidsetInfo(com.vladsch.flexmark.util.sequence.BasedSequence info)voidsetOpeningMarker(com.vladsch.flexmark.util.sequence.BasedSequence openingMarker)voidsetTitle(com.vladsch.flexmark.util.sequence.BasedSequence title)voidsetTitleChars(com.vladsch.flexmark.util.sequence.BasedSequence titleChars)voidsetTitleClosingMarker(com.vladsch.flexmark.util.sequence.BasedSequence titleClosingMarker)voidsetTitleOpeningMarker(com.vladsch.flexmark.util.sequence.BasedSequence titleOpeningMarker)-
Methods inherited from class com.vladsch.flexmark.util.ast.ContentNode
getContentChars, getContentChars, getContentLines, getContentLines, getLineChars, getLineCount, getSpanningChars, setContent, setContent, setContent, setContentLine, setContentLines
-
Methods inherited from class com.vladsch.flexmark.util.ast.Node
appendChain, appendChild, astChars, astExtraChars, astString, baseSubSequence, baseSubSequence, countAncestorsOfType, countDirectAncestorsOfType, delimitedSegmentSpan, delimitedSegmentSpanChars, endOfLine, extractChainTo, extractToFirstInChain, getAncestorOfType, getBaseSequence, getBlankLineSibling, getChars, getCharsFromSegments, getChildChars, getChildIterator, getChildOfType, getChildren, getDescendants, getDocument, getEmptyPrefix, getEmptySuffix, getEndLineNumber, getEndOffset, getEndOfLine, getExactChildChars, getFirstChild, getFirstChildAny, getFirstChildAnyNot, getFirstInChain, getGrandParent, getLastBlankLineChild, getLastChild, getLastChildAny, getLastChildAnyNot, getLastInChain, getLeadSegment, getLineColumnAtEnd, getLineNumber, getNext, getNextAny, getNextAnyNot, getNodeName, getNodeOfTypeIndex, getNodeOfTypeIndex, getOldestAncestorOfTypeAfter, getPrevious, getPreviousAny, getPreviousAnyNot, getReversedChildIterator, getReversedChildren, getReversedDescendants, getSourceRange, getStartLineNumber, getStartOffset, getStartOfLine, getTextLength, getTrailSegment, hasChildren, hasOrMoreChildren, insertAfter, insertBefore, insertChainAfter, insertChainBefore, isOrDescendantOfType, lineColumnAtIndex, lineColumnAtStart, moveTrailingBlankLines, prependChild, removeChildren, segmentSpan, segmentSpan, segmentSpanChars, segmentSpanChars, segmentSpanChars, segmentSpanCharsToVisible, setChars, setCharsFromContent, setCharsFromContentOnly, setCharsFromSegments, spanningChars, startOfLine, takeChildren, toAstString, toSegmentSpan, toString, toStringAttributes, unlink
-
-
-
-
Constructor Detail
-
AdmonitionBlock
public AdmonitionBlock()
-
AdmonitionBlock
public AdmonitionBlock(com.vladsch.flexmark.util.sequence.BasedSequence chars)
-
AdmonitionBlock
public AdmonitionBlock(com.vladsch.flexmark.util.sequence.BasedSequence chars, com.vladsch.flexmark.util.sequence.BasedSequence openingMarker, com.vladsch.flexmark.util.sequence.BasedSequence info, List<com.vladsch.flexmark.util.sequence.BasedSequence> segments)
-
-
Method Detail
-
getSegments
@NotNull public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence[] getSegments()
- Specified by:
getSegmentsin classcom.vladsch.flexmark.util.ast.Node
-
getSegmentsForChars
@NotNull public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence[] getSegmentsForChars()
- Overrides:
getSegmentsForCharsin classcom.vladsch.flexmark.util.ast.Node
-
getAstExtra
public void getAstExtra(@NotNull @NotNull StringBuilder out)- Overrides:
getAstExtrain classcom.vladsch.flexmark.util.ast.Node
-
getOpeningMarker
public com.vladsch.flexmark.util.sequence.BasedSequence getOpeningMarker()
-
setOpeningMarker
public void setOpeningMarker(com.vladsch.flexmark.util.sequence.BasedSequence openingMarker)
-
setInfo
public void setInfo(com.vladsch.flexmark.util.sequence.BasedSequence info)
-
getInfo
public com.vladsch.flexmark.util.sequence.BasedSequence getInfo()
-
getTitle
public com.vladsch.flexmark.util.sequence.BasedSequence getTitle()
-
getTitleOpeningMarker
public com.vladsch.flexmark.util.sequence.BasedSequence getTitleOpeningMarker()
-
setTitleOpeningMarker
public void setTitleOpeningMarker(com.vladsch.flexmark.util.sequence.BasedSequence titleOpeningMarker)
-
setTitle
public void setTitle(com.vladsch.flexmark.util.sequence.BasedSequence title)
-
getTitleClosingMarker
public com.vladsch.flexmark.util.sequence.BasedSequence getTitleClosingMarker()
-
setTitleClosingMarker
public void setTitleClosingMarker(com.vladsch.flexmark.util.sequence.BasedSequence titleClosingMarker)
-
getTitleChars
public com.vladsch.flexmark.util.sequence.BasedSequence getTitleChars()
-
setTitleChars
public void setTitleChars(com.vladsch.flexmark.util.sequence.BasedSequence titleChars)
-
isParagraphEndWrappingDisabled
public boolean isParagraphEndWrappingDisabled(com.vladsch.flexmark.ast.Paragraph node)
- Specified by:
isParagraphEndWrappingDisabledin interfacecom.vladsch.flexmark.ast.ParagraphContainer
-
isParagraphStartWrappingDisabled
public boolean isParagraphStartWrappingDisabled(com.vladsch.flexmark.ast.Paragraph node)
- Specified by:
isParagraphStartWrappingDisabledin interfacecom.vladsch.flexmark.ast.ParagraphContainer
-
-