public abstract class ListItem extends com.vladsch.flexmark.ast.Block implements ParagraphItemContainer, com.vladsch.flexmark.ast.BlankLineContainer
| Modifier and Type | Field and Description |
|---|---|
protected com.vladsch.flexmark.util.sequence.BasedSequence |
markerSuffix |
protected com.vladsch.flexmark.util.sequence.BasedSequence |
openingMarker |
| Constructor and Description |
|---|
ListItem() |
ListItem(com.vladsch.flexmark.util.sequence.BasedSequence chars) |
ListItem(com.vladsch.flexmark.util.sequence.BasedSequence chars,
List<com.vladsch.flexmark.util.sequence.BasedSequence> segments) |
ListItem(com.vladsch.flexmark.ast.BlockContent blockContent) |
ListItem(ListItem other) |
| Modifier and Type | Method and Description |
|---|---|
void |
getAstExtra(StringBuilder out) |
com.vladsch.flexmark.ast.Node |
getLastBlankLineChild() |
com.vladsch.flexmark.util.sequence.BasedSequence |
getMarkerSuffix() |
com.vladsch.flexmark.util.sequence.BasedSequence |
getOpeningMarker() |
com.vladsch.flexmark.util.sequence.BasedSequence[] |
getSegments() |
boolean |
isContainsBlankLine() |
boolean |
isHadBlankAfterItemParagraph() |
boolean |
isInTightList() |
boolean |
isItemParagraph(Paragraph node) |
boolean |
isLoose() |
boolean |
isOwnTight() |
boolean |
isParagraphInTightListItem(Paragraph node) |
boolean |
isParagraphWrappingDisabled(Paragraph node,
ListOptions listOptions,
com.vladsch.flexmark.util.options.DataHolder options) |
boolean |
isTight() |
void |
setContainsBlankLine(boolean containsBlankLine) |
void |
setHadBlankAfterItemParagraph(boolean hadBlankAfterItemParagraph) |
void |
setLoose(boolean loose) |
void |
setMarkerSuffix(com.vladsch.flexmark.util.sequence.BasedSequence markerSuffix) |
void |
setOpeningMarker(com.vladsch.flexmark.util.sequence.BasedSequence openingMarker) |
void |
setTight(boolean tight) |
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, 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 com.vladsch.flexmark.util.sequence.BasedSequence openingMarker
protected com.vladsch.flexmark.util.sequence.BasedSequence markerSuffix
public ListItem()
public ListItem(ListItem other)
public ListItem(com.vladsch.flexmark.util.sequence.BasedSequence chars)
public ListItem(com.vladsch.flexmark.util.sequence.BasedSequence chars,
List<com.vladsch.flexmark.util.sequence.BasedSequence> segments)
public ListItem(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 com.vladsch.flexmark.util.sequence.BasedSequence getOpeningMarker()
public void setOpeningMarker(com.vladsch.flexmark.util.sequence.BasedSequence openingMarker)
public com.vladsch.flexmark.util.sequence.BasedSequence getMarkerSuffix()
public void setMarkerSuffix(com.vladsch.flexmark.util.sequence.BasedSequence markerSuffix)
public void setTight(boolean tight)
public void setLoose(boolean loose)
public boolean isTight()
public boolean isOwnTight()
public boolean isLoose()
public boolean isParagraphInTightListItem(Paragraph node)
public boolean isItemParagraph(Paragraph node)
isItemParagraph in interface ParagraphItemContainerpublic boolean isParagraphWrappingDisabled(Paragraph node, ListOptions listOptions, com.vladsch.flexmark.util.options.DataHolder options)
isParagraphWrappingDisabled in interface ParagraphItemContainerpublic boolean isInTightList()
public boolean isHadBlankAfterItemParagraph()
public boolean isContainsBlankLine()
public void setContainsBlankLine(boolean containsBlankLine)
public void setHadBlankAfterItemParagraph(boolean hadBlankAfterItemParagraph)
public com.vladsch.flexmark.ast.Node getLastBlankLineChild()
getLastBlankLineChild in class com.vladsch.flexmark.ast.NodeCopyright © 2018. All rights reserved.