Class Abbreviation
- java.lang.Object
-
- com.vladsch.flexmark.util.ast.Node
-
- com.vladsch.flexmark.ext.abbreviation.Abbreviation
-
- All Implemented Interfaces:
com.vladsch.flexmark.util.ast.DoNotDecorate,com.vladsch.flexmark.util.ast.DoNotLinkDecorate,com.vladsch.flexmark.util.ast.ReferencingNode<com.vladsch.flexmark.ext.abbreviation.internal.AbbreviationRepository,AbbreviationBlock>
public class Abbreviation extends com.vladsch.flexmark.util.ast.Node implements com.vladsch.flexmark.util.ast.DoNotDecorate, com.vladsch.flexmark.util.ast.DoNotLinkDecorate, com.vladsch.flexmark.util.ast.ReferencingNode<com.vladsch.flexmark.ext.abbreviation.internal.AbbreviationRepository,AbbreviationBlock>
A node containing the abbreviated text that will be rendered as an abbr tag or a link with title attribute
-
-
Field Summary
Fields Modifier and Type Field Description protected com.vladsch.flexmark.util.sequence.BasedSequenceabbreviation
-
Constructor Summary
Constructors Constructor Description Abbreviation(com.vladsch.flexmark.util.sequence.BasedSequence chars, com.vladsch.flexmark.util.sequence.BasedSequence abbreviation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vladsch.flexmark.util.sequence.BasedSequencegetAbbreviation()voidgetAstExtra(@NotNull StringBuilder out)@NotNull com.vladsch.flexmark.util.sequence.BasedSequencegetReference()AbbreviationBlockgetReferenceNode(com.vladsch.flexmark.ext.abbreviation.internal.AbbreviationRepository repository)AbbreviationBlockgetReferenceNode(com.vladsch.flexmark.util.ast.Document document)@NotNull com.vladsch.flexmark.util.sequence.BasedSequence[]getSegments()booleanisDefined()protected @NotNull StringtoStringAttributes()-
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
-
-
-
-
Method Detail
-
getAbbreviation
public com.vladsch.flexmark.util.sequence.BasedSequence getAbbreviation()
-
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
-
toStringAttributes
@NotNull protected @NotNull String toStringAttributes()
- Overrides:
toStringAttributesin classcom.vladsch.flexmark.util.ast.Node
-
isDefined
public boolean isDefined()
- Specified by:
isDefinedin interfacecom.vladsch.flexmark.util.ast.ReferencingNode<com.vladsch.flexmark.ext.abbreviation.internal.AbbreviationRepository,AbbreviationBlock>
-
getReference
@NotNull public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence getReference()
- Specified by:
getReferencein interfacecom.vladsch.flexmark.util.ast.ReferencingNode<com.vladsch.flexmark.ext.abbreviation.internal.AbbreviationRepository,AbbreviationBlock>
-
getReferenceNode
public AbbreviationBlock getReferenceNode(com.vladsch.flexmark.util.ast.Document document)
- Specified by:
getReferenceNodein interfacecom.vladsch.flexmark.util.ast.ReferencingNode<com.vladsch.flexmark.ext.abbreviation.internal.AbbreviationRepository,AbbreviationBlock>
-
getReferenceNode
public AbbreviationBlock getReferenceNode(com.vladsch.flexmark.ext.abbreviation.internal.AbbreviationRepository repository)
- Specified by:
getReferenceNodein interfacecom.vladsch.flexmark.util.ast.ReferencingNode<com.vladsch.flexmark.ext.abbreviation.internal.AbbreviationRepository,AbbreviationBlock>
-
-