Class AbstractMediaLink
java.lang.Object
com.vladsch.flexmark.util.ast.Node
com.vladsch.flexmark.ast.LinkNodeBase
com.vladsch.flexmark.ast.LinkNode
com.vladsch.flexmark.ast.InlineLinkNode
com.vladsch.flexmark.ext.media.tags.internal.AbstractMediaLink
- All Implemented Interfaces:
DoNotLinkDecorate, TextContainer
- Direct Known Subclasses:
AudioLink, EmbedLink, PictureLink, VideoLink
-
Nested Class Summary
Nested classes/interfaces inherited from interface TextContainer
TextContainer.Flags -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate final Stringprivate final StringFields inherited from class InlineLinkNode
linkClosingMarker, linkOpeningMarker, text, textClosingMarker, textOpeningMarkerFields inherited from class LinkNodeBase
anchorMarker, anchorRef, pageRef, title, titleClosingMarker, titleOpeningMarker, url, urlClosingMarker, urlOpeningMarkerFields inherited from class Node
AST_ADAPTER, EMPTY_SEGMENTS, SPLICEFields inherited from interface TextContainer
F_ADD_SPACES_BETWEEN_NODES, F_FOR_HEADING_ID, F_LINK_ANCHOR, F_LINK_NODE_TEXT, F_LINK_PAGE_REF, F_LINK_TEXT, F_LINK_TEXT_TYPE, F_LINK_URL, F_NO_TRIM_REF_TEXT_END, F_NO_TRIM_REF_TEXT_START, F_NODE_TEXT -
Constructor Summary
ConstructorsConstructorDescriptionAbstractMediaLink(String prefix, String type) AbstractMediaLink(String prefix, String type, Link other) -
Method Summary
Modifier and TypeMethodDescriptionfinal StringvoidsetTextChars(BasedSequence textChars) protected final voidverifyBasedSequence(BasedSequence chars, int startOffset) Methods inherited from class InlineLinkNode
getAstExtra, getLinkClosingMarker, getLinkOpeningMarker, getSegments, getSegmentsForChars, getText, getTextClosingMarker, getTextOpeningMarker, setLinkClosingMarker, setLinkOpeningMarker, setText, setTextClosingMarker, setTextOpeningMarker, setUrl, toStringAttributesMethods inherited from class LinkNode
collectTextMethods inherited from class LinkNodeBase
getAnchorMarker, getAnchorRef, getPageRef, getTitle, getTitleClosingMarker, getTitleOpeningMarker, getUrl, getUrlClosingMarker, getUrlOpeningMarker, setAnchorMarker, setAnchorRef, setPageRef, setTitle, setTitleChars, setTitleClosingMarker, setTitleOpeningMarker, setUrl, setUrlChars, setUrlClosingMarker, setUrlOpeningMarkerMethods inherited from class 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, 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, unlinkMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface TextContainer
collectEndText
-
Field Details
-
INVALID_SEQUENCE
- See Also:
-
PREFIX
-
TYPE
-
-
Constructor Details
-
AbstractMediaLink
-
AbstractMediaLink
-
-
Method Details
-
getPrefix
-
setTextChars
- Specified by:
setTextCharsin classInlineLinkNode
-
verifyBasedSequence
-