Class Abbreviation
java.lang.Object
com.vladsch.flexmark.util.ast.Node
com.vladsch.flexmark.ext.abbreviation.Abbreviation
- All Implemented Interfaces:
DoNotDecorate
,DoNotLinkDecorate
,ReferencingNode<AbbreviationRepository,
AbbreviationBlock>
public class Abbreviation
extends Node
implements DoNotDecorate, DoNotLinkDecorate, ReferencingNode<AbbreviationRepository,AbbreviationBlock>
A node containing the abbreviated text that will be rendered as an abbr tag or a link with title attribute
-
Field Summary
FieldsFields inherited from class com.vladsch.flexmark.util.ast.Node
AST_ADAPTER, EMPTY_SEGMENTS, SPLICE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getAstExtra
(@NotNull StringBuilder out) @NotNull BasedSequence
getReferenceNode
(AbbreviationRepository repository) getReferenceNode
(Document document) @NotNull BasedSequence[]
boolean
protected @NotNull String
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, unlink
-
Field Details
-
abbreviation
-
-
Constructor Details
-
Abbreviation
-
-
Method Details
-
getAbbreviation
-
getSegments
- Specified by:
getSegments
in classNode
-
getAstExtra
- Overrides:
getAstExtra
in classNode
-
toStringAttributes
- Overrides:
toStringAttributes
in classNode
-
isDefined
public boolean isDefined()- Specified by:
isDefined
in interfaceReferencingNode<AbbreviationRepository,
AbbreviationBlock>
-
getReference
- Specified by:
getReference
in interfaceReferencingNode<AbbreviationRepository,
AbbreviationBlock>
-
getReferenceNode
- Specified by:
getReferenceNode
in interfaceReferencingNode<AbbreviationRepository,
AbbreviationBlock>
-
getReferenceNode
- Specified by:
getReferenceNode
in interfaceReferencingNode<AbbreviationRepository,
AbbreviationBlock>
-