Package com.vladsch.flexmark.ext.emoji
Class Emoji
- java.lang.Object
-
- com.vladsch.flexmark.util.ast.Node
-
- com.vladsch.flexmark.ext.emoji.Emoji
-
- All Implemented Interfaces:
com.vladsch.flexmark.util.ast.DelimitedNode,com.vladsch.flexmark.util.ast.TextContainer
public class Emoji extends com.vladsch.flexmark.util.ast.Node implements com.vladsch.flexmark.util.ast.DelimitedNode, com.vladsch.flexmark.util.ast.TextContainerAn emoji node containing emoji shortcut text
-
-
Field Summary
Fields Modifier and Type Field Description protected com.vladsch.flexmark.util.sequence.BasedSequenceclosingMarkerprotected com.vladsch.flexmark.util.sequence.BasedSequenceopeningMarkerprotected com.vladsch.flexmark.util.sequence.BasedSequencetext
-
Constructor Summary
Constructors Constructor Description Emoji()Emoji(com.vladsch.flexmark.util.sequence.BasedSequence chars)Emoji(com.vladsch.flexmark.util.sequence.BasedSequence openingMarker, com.vladsch.flexmark.util.sequence.BasedSequence text, com.vladsch.flexmark.util.sequence.BasedSequence closingMarker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancollectText(com.vladsch.flexmark.util.sequence.builder.ISequenceBuilder<? extends com.vladsch.flexmark.util.sequence.builder.ISequenceBuilder<?,com.vladsch.flexmark.util.sequence.BasedSequence>,com.vladsch.flexmark.util.sequence.BasedSequence> out, int flags, com.vladsch.flexmark.util.ast.NodeVisitor nodeVisitor)voidgetAstExtra(@NotNull StringBuilder out)com.vladsch.flexmark.util.sequence.BasedSequencegetClosingMarker()com.vladsch.flexmark.util.sequence.BasedSequencegetOpeningMarker()@NotNull com.vladsch.flexmark.util.sequence.BasedSequence[]getSegments()com.vladsch.flexmark.util.sequence.BasedSequencegetText()voidsetClosingMarker(com.vladsch.flexmark.util.sequence.BasedSequence closingMarker)voidsetOpeningMarker(com.vladsch.flexmark.util.sequence.BasedSequence openingMarker)voidsetText(com.vladsch.flexmark.util.sequence.BasedSequence text)-
Methods inherited from class com.vladsch.flexmark.util.ast.Node
appendChain, appendChild, astChars, astExtraChars, astString, baseSubSequence, baseSubSequence, countAncestorsOfType, countDirectAncestorsOfType, delimitedSegmentSpan, delimitedSegmentSpanChars, endOfLine, extractChainTo, extractToFirstInChain, getAncestorOfType, 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, 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, unlink
-
-
-
-
Constructor Detail
-
Emoji
public Emoji()
-
Emoji
public Emoji(com.vladsch.flexmark.util.sequence.BasedSequence chars)
-
Emoji
public Emoji(com.vladsch.flexmark.util.sequence.BasedSequence openingMarker, com.vladsch.flexmark.util.sequence.BasedSequence text, com.vladsch.flexmark.util.sequence.BasedSequence closingMarker)
-
-
Method Detail
-
getSegments
@NotNull public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence[] getSegments()
- Specified by:
getSegmentsin classcom.vladsch.flexmark.util.ast.Node
-
getAstExtra
public void getAstExtra(@NotNull @NotNull StringBuilder out)- Overrides:
getAstExtrain classcom.vladsch.flexmark.util.ast.Node
-
getOpeningMarker
public com.vladsch.flexmark.util.sequence.BasedSequence getOpeningMarker()
- Specified by:
getOpeningMarkerin interfacecom.vladsch.flexmark.util.ast.DelimitedNode
-
setOpeningMarker
public void setOpeningMarker(com.vladsch.flexmark.util.sequence.BasedSequence openingMarker)
- Specified by:
setOpeningMarkerin interfacecom.vladsch.flexmark.util.ast.DelimitedNode
-
getText
public com.vladsch.flexmark.util.sequence.BasedSequence getText()
- Specified by:
getTextin interfacecom.vladsch.flexmark.util.ast.DelimitedNode
-
setText
public void setText(com.vladsch.flexmark.util.sequence.BasedSequence text)
- Specified by:
setTextin interfacecom.vladsch.flexmark.util.ast.DelimitedNode
-
getClosingMarker
public com.vladsch.flexmark.util.sequence.BasedSequence getClosingMarker()
- Specified by:
getClosingMarkerin interfacecom.vladsch.flexmark.util.ast.DelimitedNode
-
setClosingMarker
public void setClosingMarker(com.vladsch.flexmark.util.sequence.BasedSequence closingMarker)
- Specified by:
setClosingMarkerin interfacecom.vladsch.flexmark.util.ast.DelimitedNode
-
collectText
public boolean collectText(com.vladsch.flexmark.util.sequence.builder.ISequenceBuilder<? extends com.vladsch.flexmark.util.sequence.builder.ISequenceBuilder<?,com.vladsch.flexmark.util.sequence.BasedSequence>,com.vladsch.flexmark.util.sequence.BasedSequence> out, int flags, com.vladsch.flexmark.util.ast.NodeVisitor nodeVisitor)- Specified by:
collectTextin interfacecom.vladsch.flexmark.util.ast.DelimitedNode- Specified by:
collectTextin interfacecom.vladsch.flexmark.util.ast.TextContainer
-
-