| Modifier and Type | Field and Description |
|---|---|
protected List<BasedSequence> |
lineSegments |
EMPTY_SEGMENTS, SPLICE| Constructor and Description |
|---|
ContentNode() |
ContentNode(BasedSequence chars) |
ContentNode(BasedSequence chars,
List<BasedSequence> lineSegments) |
ContentNode(BlockContent blockContent) |
ContentNode(List<BasedSequence> lineSegments) |
| Modifier and Type | Method and Description |
|---|---|
BasedSequence |
getContentChars() |
BasedSequence |
getContentChars(int startLine,
int endLine) |
List<BasedSequence> |
getContentLines() |
List<BasedSequence> |
getContentLines(int startLine,
int endLine) |
BasedSequence |
getLineChars(int index) |
int |
getLineCount() |
BasedSequence |
getSpanningChars() |
void |
setContent(BasedSequence chars,
List<BasedSequence> lineSegments) |
void |
setContent(BlockContent blockContent) |
void |
setContent(List<BasedSequence> lineSegments) |
void |
setContentLine(int lineIndex,
BasedSequence contentLine) |
void |
setContentLines(List<BasedSequence> contentLines) |
appendChild, astChars, astExtraChars, astString, countAncestorsOfType, countDirectAncestorsOfType, delimitedSegmentSpan, delimitedSegmentSpanChars, deNullify, getAncestorOfType, getAstExtra, 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, getParent, getPrevious, getPreviousAny, getPreviousAnyNot, getReversedChildIterator, getReversedChildren, getReversedDescendants, getSegments, getSegmentsForChars, getStartLineNumber, getStartOffset, getTextLength, getTrailSegment, hasChildren, hasOrMoreChildren, insertAfter, insertBefore, isOrDescendantOfType, moveTrailingBlankLines, prependChild, removeChildren, segmentSpan, segmentSpan, segmentSpanChars, segmentSpanChars, segmentSpanChars, setChars, setCharsFromContent, setCharsFromContentOnly, setCharsFromSegments, setParent, spanningChars, takeChildren, toAstString, toSegmentSpan, toString, toStringAttributes, unlinkprotected List<BasedSequence> lineSegments
public ContentNode()
public ContentNode(BasedSequence chars)
public ContentNode(BasedSequence chars, List<BasedSequence> lineSegments)
public ContentNode(List<BasedSequence> lineSegments)
public ContentNode(BlockContent blockContent)
public void setContent(BasedSequence chars, List<BasedSequence> lineSegments)
public void setContent(List<BasedSequence> lineSegments)
public void setContent(BlockContent blockContent)
public BasedSequence getSpanningChars()
getSpanningChars in interface Contentpublic int getLineCount()
getLineCount in interface Contentpublic BasedSequence getLineChars(int index)
getLineChars in interface Contentpublic List<BasedSequence> getContentLines()
getContentLines in interface Contentpublic List<BasedSequence> getContentLines(int startLine, int endLine)
getContentLines in interface Contentpublic BasedSequence getContentChars()
getContentChars in interface Contentpublic BasedSequence getContentChars(int startLine, int endLine)
getContentChars in interface Contentpublic void setContentLines(List<BasedSequence> contentLines)
public void setContentLine(int lineIndex,
BasedSequence contentLine)
Copyright © 2018. All rights reserved.