| Modifier and Type | Field and Description |
|---|---|
protected List<com.vladsch.flexmark.util.sequence.BasedSequence> |
lineSegments |
AST_ADAPTER, EMPTY_SEGMENTS, SPLICE| Constructor and Description |
|---|
ContentNode() |
ContentNode(@NotNull com.vladsch.flexmark.util.sequence.BasedSequence chars) |
ContentNode(@NotNull com.vladsch.flexmark.util.sequence.BasedSequence chars,
@NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> lineSegments) |
ContentNode(@NotNull BlockContent blockContent) |
ContentNode(@NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> lineSegments) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull com.vladsch.flexmark.util.sequence.BasedSequence |
getContentChars() |
@NotNull com.vladsch.flexmark.util.sequence.BasedSequence |
getContentChars(int startLine,
int endLine) |
@NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> |
getContentLines() |
@NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> |
getContentLines(int startLine,
int endLine) |
@NotNull com.vladsch.flexmark.util.sequence.BasedSequence |
getLineChars(int index) |
int |
getLineCount() |
@NotNull com.vladsch.flexmark.util.sequence.BasedSequence |
getSpanningChars() |
void |
setContent(@NotNull com.vladsch.flexmark.util.sequence.BasedSequence chars,
@NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> lineSegments) |
void |
setContent(@NotNull BlockContent blockContent) |
void |
setContent(@NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> lineSegments) |
void |
setContentLine(int lineIndex,
@NotNull com.vladsch.flexmark.util.sequence.BasedSequence contentLine) |
void |
setContentLines(@NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> contentLines) |
appendChain, appendChild, astChars, astExtraChars, astString, baseSubSequence, baseSubSequence, countAncestorsOfType, countDirectAncestorsOfType, delimitedSegmentSpan, delimitedSegmentSpanChars, endOfLine, extractChainTo, extractToFirstInChain, getAncestorOfType, getAstExtra, 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, getParent, getPrevious, getPreviousAny, getPreviousAnyNot, getReversedChildIterator, getReversedChildren, getReversedDescendants, getSegments, getSegmentsForChars, 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, setParent, spanningChars, startOfLine, takeChildren, toAstString, toSegmentSpan, toString, toStringAttributes, unlinkprotected List<com.vladsch.flexmark.util.sequence.BasedSequence> lineSegments
public ContentNode()
public ContentNode(@NotNull
@NotNull com.vladsch.flexmark.util.sequence.BasedSequence chars)
public ContentNode(@NotNull
@NotNull com.vladsch.flexmark.util.sequence.BasedSequence chars,
@NotNull
@NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> lineSegments)
public ContentNode(@NotNull
@NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> lineSegments)
public ContentNode(@NotNull
@NotNull BlockContent blockContent)
public void setContent(@NotNull
@NotNull com.vladsch.flexmark.util.sequence.BasedSequence chars,
@NotNull
@NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> lineSegments)
public void setContent(@NotNull
@NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> lineSegments)
public void setContent(@NotNull
@NotNull BlockContent blockContent)
@NotNull public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence getSpanningChars()
getSpanningChars in interface Contentpublic int getLineCount()
getLineCount in interface Content@NotNull public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence getLineChars(int index)
getLineChars in interface Content@NotNull public @NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> getContentLines()
getContentLines in interface Content@NotNull public @NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> getContentLines(int startLine, int endLine)
getContentLines in interface Content@NotNull public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence getContentChars()
getContentChars in interface Content@NotNull
public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence getContentChars(int startLine,
int endLine)
getContentChars in interface Contentpublic void setContentLines(@NotNull
@NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> contentLines)
public void setContentLine(int lineIndex,
@NotNull
@NotNull com.vladsch.flexmark.util.sequence.BasedSequence contentLine)
Copyright © 2020. All rights reserved.