Top Description Fields Constructors Methods
com.vladsch.flexmark.ext.emoji

public Class Emoji

extends Node
implements DelimitedNode, TextContainer
Class Inheritance
All Implemented Interfaces
com.vladsch.flexmark.util.ast.TextContainer, com.vladsch.flexmark.util.ast.DelimitedNode
Imports
com.vladsch.flexmark.html.HtmlRenderer, com.vladsch.flexmark.util.ast.DelimitedNode, .Node, .NodeVisitor, .TextContainer, com.vladsch.flexmark.util.misc.BitFieldSet, com.vladsch.flexmark.util.sequence.BasedSequence, com.vladsch.flexmark.util.sequence.builder.ISequenceBuilder, org.jetbrains.annotations.NotNull

An emoji node containing emoji shortcut text

Field Summary

Modifier and TypeField and Description
protected BasedSequence
protected BasedSequence
protected BasedSequence
Inherited from com.vladsch.flexmark.util.ast.Node:
AST_ADAPTEREMPTY_SEGMENTSSPLICE

Constructor Summary

AccessConstructor and Description
public
public
public
Emoji(BasedSequence openingMarker, BasedSequence text, BasedSequence closingMarker)

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
)

Overrides default com.vladsch.flexmark.util.ast.DelimitedNode.collectText.

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

Append node's text

public void
public BasedSequence
public BasedSequence
public @NotNull BasedSequence[]
public BasedSequence
public void
public void
public void
Inherited from com.vladsch.flexmark.util.ast.Node:
appendChainappendChildastCharsastExtraCharsastStringbaseSubSequencebaseSubSequencecountAncestorsOfTypecountDirectAncestorsOfTypedelimitedSegmentSpandelimitedSegmentSpanCharsendOfLineextractChainToextractToFirstInChaingetAncestorOfTypegetAstExtragetBaseSequencegetBlankLineSiblinggetCharsgetCharsFromSegmentsgetChildCharsgetChildIteratorgetChildOfTypegetChildrengetDescendantsgetDocumentgetEmptyPrefixgetEmptySuffixgetEndLineNumbergetEndOffsetgetEndOfLinegetExactChildCharsgetFirstChildgetFirstChildAnygetFirstChildAnyNotgetFirstInChaingetGrandParentgetLastBlankLineChildgetLastChildgetLastChildAnygetLastChildAnyNotgetLastInChaingetLeadSegmentgetLineColumnAtEndgetLineNumbergetNextgetNextAnygetNextAnyNotgetNodeNamegetNodeOfTypeIndexgetNodeOfTypeIndexgetOldestAncestorOfTypeAftergetParentgetPreviousgetPreviousAnygetPreviousAnyNotgetReversedChildIteratorgetReversedChildrengetReversedDescendantsgetSegmentsForCharsgetSourceRangegetStartLineNumbergetStartOffsetgetStartOfLinegetTextLengthgetTrailSegmenthasChildrenhasOrMoreChildreninsertAfterinsertBeforeinsertChainAfterinsertChainBeforeisOrDescendantOfTypelineColumnAtIndexlineColumnAtStartmoveTrailingBlankLinesprependChildremoveChildrensegmentSpansegmentSpansegmentSpanCharssegmentSpanCharssegmentSpanCharssegmentSpanCharsToVisiblesetCharssetCharsFromContentsetCharsFromContentOnlysetCharsFromSegmentssetParentspanningCharsstartOfLinetakeChildrentoAstStringtoSegmentSpantoStringtoStringAttributesunlink

Field Detail

closingMarkerback to summary
protected BasedSequence closingMarker
openingMarkerback to summary
protected BasedSequence openingMarker
textback to summary
protected BasedSequence text

Constructor Detail

Emojiback to summary
public Emoji()
Emojiback to summary
public Emoji(BasedSequence chars)
Emojiback to summary
public Emoji(BasedSequence openingMarker, BasedSequence text, BasedSequence closingMarker)

Method Detail

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

Overrides default com.vladsch.flexmark.util.ast.DelimitedNode.collectText.

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
getAstExtraback to summary
public void getAstExtra(@NotNull StringBuilder out)
Annotations
@Override
getClosingMarkerback to summary
public BasedSequence getClosingMarker()

Implements com.vladsch.flexmark.util.ast.DelimitedNode.getClosingMarker.

getOpeningMarkerback to summary
public BasedSequence getOpeningMarker()

Implements com.vladsch.flexmark.util.ast.DelimitedNode.getOpeningMarker.

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

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

Annotations
@NotNull
@Override
getTextback to summary
public BasedSequence getText()

Implements com.vladsch.flexmark.util.ast.DelimitedNode.getText.

setClosingMarkerback to summary
public void setClosingMarker(BasedSequence closingMarker)

Implements com.vladsch.flexmark.util.ast.DelimitedNode.setClosingMarker.

setOpeningMarkerback to summary
public void setOpeningMarker(BasedSequence openingMarker)

Implements com.vladsch.flexmark.util.ast.DelimitedNode.setOpeningMarker.

setTextback to summary
public void setText(BasedSequence text)

Implements com.vladsch.flexmark.util.ast.DelimitedNode.setText.