Top Fields Constructors Methods
com.vladsch.flexmark.ast

public Class SoftLineBreak

extends Node
implements DoNotAttributeDecorate, DoNotTrim, TextContainer
Class Inheritance
All Implemented Interfaces
com.vladsch.flexmark.util.ast.TextContainer, com.vladsch.flexmark.util.ast.DoNotTrim, com.vladsch.flexmark.util.ast.DoNotAttributeDecorate
Imports
com.vladsch.flexmark.util.ast.*, com.vladsch.flexmark.util.sequence.BasedSequence, com.vladsch.flexmark.util.sequence.builder.ISequenceBuilder, org.jetbrains.annotations.NotNull

Field Summary

Inherited from com.vladsch.flexmark.util.ast.Node:
AST_ADAPTEREMPTY_SEGMENTSSPLICE

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public boolean
collectText(ISequenceBuilder<? extends ISequenceBuilder<?, BasedSequence>, BasedSequence>
sequence build to which to append text
out
,
int
collection flags
flags
,
NodeVisitor
node visitor to use to visit children
nodeVisitor
)

Implements com.vladsch.flexmark.util.ast.TextContainer.collectText.

Append node's text

public @NotNull BasedSequence[]
public void
public void
public void
public void
setCharsFromSegments()

Overrides com.vladsch.flexmark.util.ast.Node.setCharsFromSegments.

Set the node's char string from segments making up the node's characters.

Inherited from com.vladsch.flexmark.util.ast.Node:
appendChainappendChildastCharsastExtraCharsastStringbaseSubSequencebaseSubSequencecountAncestorsOfTypecountDirectAncestorsOfTypedelimitedSegmentSpandelimitedSegmentSpanCharsendOfLineextractChainToextractToFirstInChaingetAncestorOfTypegetAstExtragetBaseSequencegetBlankLineSiblinggetCharsgetCharsFromSegmentsgetChildCharsgetChildIteratorgetChildOfTypegetChildrengetDescendantsgetDocumentgetEmptyPrefixgetEmptySuffixgetEndLineNumbergetEndOffsetgetEndOfLinegetExactChildCharsgetFirstChildgetFirstChildAnygetFirstChildAnyNotgetFirstInChaingetGrandParentgetLastBlankLineChildgetLastChildgetLastChildAnygetLastChildAnyNotgetLastInChaingetLeadSegmentgetLineColumnAtEndgetLineNumbergetNextgetNextAnygetNextAnyNotgetNodeNamegetNodeOfTypeIndexgetNodeOfTypeIndexgetOldestAncestorOfTypeAftergetParentgetPreviousgetPreviousAnygetPreviousAnyNotgetReversedChildIteratorgetReversedChildrengetReversedDescendantsgetSegmentsForCharsgetSourceRangegetStartLineNumbergetStartOffsetgetStartOfLinegetTextLengthgetTrailSegmenthasChildrenhasOrMoreChildreninsertAfterinsertBeforeinsertChainAfterinsertChainBeforeisOrDescendantOfTypelineColumnAtIndexlineColumnAtStartmoveTrailingBlankLinesprependChildremoveChildrensegmentSpansegmentSpansegmentSpanCharssegmentSpanCharssegmentSpanCharssegmentSpanCharsToVisiblesetCharssetParentspanningCharsstartOfLinetakeChildrentoAstStringtoSegmentSpantoStringtoStringAttributesunlink

Constructor Detail

SoftLineBreakback to summary
public SoftLineBreak()
SoftLineBreakback to summary
public SoftLineBreak(BasedSequence chars)

Method Detail

collectTextback to summary
public boolean collectText(ISequenceBuilder<? extends ISequenceBuilder<?, BasedSequence>, BasedSequence> out, int flags, NodeVisitor nodeVisitor)

Implements com.vladsch.flexmark.util.ast.TextContainer.collectText.

Doc from com.vladsch.flexmark.util.ast.TextContainer.collectText.

Append node's text

Parameters
out:ISequenceBuilder<? extends ISequenceBuilder<?, BasedSequence>, BasedSequence>

sequence build to which to append text

flags:int

collection flags

nodeVisitor:NodeVisitor

node visitor to use to visit children

Returns:boolean

true if child nodes should be visited

Annotations
@Override
getSegmentsback to summary
public @NotNull BasedSequence[] getSegments()

Implements abstract com.vladsch.flexmark.util.ast.Node.getSegments.

Annotations
@NotNull
@Override
setCharsback to summary
public void setChars(@NotNull BasedSequence chars)
Annotations
@Override
setCharsFromContentback to summary
public void setCharsFromContent()

Overrides com.vladsch.flexmark.util.ast.Node.setCharsFromContent.

Annotations
@Override
setCharsFromContentOnlyback to summary
public void setCharsFromContentOnly()

Overrides com.vladsch.flexmark.util.ast.Node.setCharsFromContentOnly.

Annotations
@Override
setCharsFromSegmentsback to summary
public void setCharsFromSegments()

Overrides com.vladsch.flexmark.util.ast.Node.setCharsFromSegments.

Doc from com.vladsch.flexmark.util.ast.Node.setCharsFromSegments.

Set the node's char string from segments making up the node's characters.

Used to get segments after the some of the node's elements were modified

Annotations
@Override