public class Heading extends com.vladsch.flexmark.ast.Block implements AnchorRefTarget
| Modifier and Type | Field and Description |
|---|---|
protected String |
anchorRefId |
protected com.vladsch.flexmark.util.sequence.BasedSequence |
closingMarker |
protected int |
level |
protected com.vladsch.flexmark.util.sequence.BasedSequence |
openingMarker |
protected com.vladsch.flexmark.util.sequence.BasedSequence |
text |
| Constructor and Description |
|---|
Heading() |
Heading(com.vladsch.flexmark.util.sequence.BasedSequence chars) |
Heading(com.vladsch.flexmark.util.sequence.BasedSequence chars,
List<com.vladsch.flexmark.util.sequence.BasedSequence> segments) |
Heading(com.vladsch.flexmark.ast.BlockContent blockContent) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAnchorRefId() |
com.vladsch.flexmark.util.sequence.BasedSequence[] |
getAnchorRefSegments() |
String |
getAnchorRefText() |
void |
getAstExtra(StringBuilder out) |
com.vladsch.flexmark.util.sequence.BasedSequence |
getClosingMarker() |
int |
getLevel() |
com.vladsch.flexmark.util.sequence.BasedSequence |
getOpeningMarker() |
com.vladsch.flexmark.util.sequence.BasedSequence[] |
getSegments() |
com.vladsch.flexmark.util.sequence.BasedSequence |
getText() |
boolean |
isAtxHeading() |
boolean |
isSetextHeading() |
void |
setAnchorRefId(String anchorRefId) |
void |
setClosingMarker(com.vladsch.flexmark.util.sequence.BasedSequence closingMarker) |
void |
setLevel(int level) |
void |
setOpeningMarker(com.vladsch.flexmark.util.sequence.BasedSequence openingMarker) |
void |
setText(com.vladsch.flexmark.util.sequence.BasedSequence text) |
getContentChars, getContentChars, getContentLines, getContentLines, getLineChars, getLineCount, getSpanningChars, setContent, setContent, setContent, setContentLine, setContentLinesappendChild, astChars, astExtraChars, astString, countAncestorsOfType, countDirectAncestorsOfType, delimitedSegmentSpan, delimitedSegmentSpanChars, deNullify, getAncestorOfType, getBlankLineSibling, getChars, getCharsFromSegments, getChildChars, getChildIterator, getChildOfType, getChildren, getDescendants, getDocument, getEndLineNumber, getEndOffset, getFirstChild, getFirstChildAny, getFirstChildAnyNot, getLastBlankLineChild, getLastChild, getLastChildAny, getLastChildAnyNot, getLeadSegment, getLineNumber, getNext, getNextAny, getNextAnyNot, getNodeName, getNodeOfTypeIndex, getNodeOfTypeIndex, getOldestAncestorOfTypeAfter, getPrevious, getPreviousAny, getPreviousAnyNot, getReversedChildIterator, getReversedChildren, getReversedDescendants, getSegmentsForChars, getStartLineNumber, getStartOffset, getTextLength, getTrailSegment, hasChildren, hasOrMoreChildren, insertAfter, insertBefore, isOrDescendantOfType, moveTrailingBlankLines, prependChild, removeChildren, segmentSpan, segmentSpan, segmentSpanChars, segmentSpanChars, segmentSpanChars, setChars, setCharsFromContent, setCharsFromContentOnly, setCharsFromSegments, spanningChars, takeChildren, toAstString, toSegmentSpan, toString, toStringAttributes, unlinkprotected int level
protected com.vladsch.flexmark.util.sequence.BasedSequence openingMarker
protected com.vladsch.flexmark.util.sequence.BasedSequence text
protected com.vladsch.flexmark.util.sequence.BasedSequence closingMarker
protected String anchorRefId
public Heading()
public Heading(com.vladsch.flexmark.util.sequence.BasedSequence chars)
public Heading(com.vladsch.flexmark.util.sequence.BasedSequence chars,
List<com.vladsch.flexmark.util.sequence.BasedSequence> segments)
public Heading(com.vladsch.flexmark.ast.BlockContent blockContent)
public void getAstExtra(StringBuilder out)
getAstExtra in class com.vladsch.flexmark.ast.Nodepublic com.vladsch.flexmark.util.sequence.BasedSequence[] getSegments()
getSegments in class com.vladsch.flexmark.ast.Nodepublic String getAnchorRefText()
getAnchorRefText in interface AnchorRefTargetpublic com.vladsch.flexmark.util.sequence.BasedSequence[] getAnchorRefSegments()
getAnchorRefSegments in interface AnchorRefTargetpublic String getAnchorRefId()
getAnchorRefId in interface AnchorRefTargetpublic void setAnchorRefId(String anchorRefId)
setAnchorRefId in interface AnchorRefTargetpublic boolean isAtxHeading()
public boolean isSetextHeading()
public com.vladsch.flexmark.util.sequence.BasedSequence getOpeningMarker()
public void setOpeningMarker(com.vladsch.flexmark.util.sequence.BasedSequence openingMarker)
public com.vladsch.flexmark.util.sequence.BasedSequence getText()
public void setText(com.vladsch.flexmark.util.sequence.BasedSequence text)
public com.vladsch.flexmark.util.sequence.BasedSequence getClosingMarker()
public void setClosingMarker(com.vladsch.flexmark.util.sequence.BasedSequence closingMarker)
public int getLevel()
public void setLevel(int level)
Copyright © 2018. All rights reserved.