Class WikiNode
- java.lang.Object
-
- com.vladsch.flexmark.util.ast.Node
-
- com.vladsch.flexmark.ext.wikilink.WikiNode
-
- All Implemented Interfaces:
com.vladsch.flexmark.ast.LinkRefDerived,com.vladsch.flexmark.util.ast.DoNotDecorate,com.vladsch.flexmark.util.ast.TextContainer
public class WikiNode extends com.vladsch.flexmark.util.ast.Node implements com.vladsch.flexmark.util.ast.DoNotDecorate, com.vladsch.flexmark.util.ast.TextContainer, com.vladsch.flexmark.ast.LinkRefDerived
-
-
Field Summary
Fields Modifier and Type Field Description protected com.vladsch.flexmark.util.sequence.BasedSequenceanchorMarkerprotected com.vladsch.flexmark.util.sequence.BasedSequenceanchorRefprotected com.vladsch.flexmark.util.sequence.BasedSequenceclosingMarkerprotected com.vladsch.flexmark.util.sequence.BasedSequencelinkprotected booleanlinkIsFirstprotected com.vladsch.flexmark.util.sequence.BasedSequenceopeningMarkerprotected com.vladsch.flexmark.util.sequence.BasedSequencepageRefstatic charSEPARATOR_CHARprotected com.vladsch.flexmark.util.sequence.BasedSequencetextprotected com.vladsch.flexmark.util.sequence.BasedSequencetextSeparatorMarker
-
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)com.vladsch.flexmark.util.sequence.BasedSequencegetAnchorMarker()com.vladsch.flexmark.util.sequence.BasedSequencegetAnchorRef()voidgetAstExtra(@NotNull StringBuilder out)com.vladsch.flexmark.util.sequence.BasedSequencegetClosingMarker()com.vladsch.flexmark.util.sequence.BasedSequencegetLink()com.vladsch.flexmark.util.sequence.BasedSequencegetOpeningMarker()com.vladsch.flexmark.util.sequence.BasedSequencegetPageRef()@NotNull com.vladsch.flexmark.util.sequence.BasedSequence[]getSegments()com.vladsch.flexmark.util.sequence.BasedSequencegetText()com.vladsch.flexmark.util.sequence.BasedSequencegetTextSeparatorMarker()booleanisLinkIsFirst()booleanisTentative()voidsetAnchorMarker(com.vladsch.flexmark.util.sequence.BasedSequence anchorMarker)voidsetAnchorRef(com.vladsch.flexmark.util.sequence.BasedSequence anchorRef)voidsetClosingMarker(com.vladsch.flexmark.util.sequence.BasedSequence closingMarker)voidsetLink(com.vladsch.flexmark.util.sequence.BasedSequence linkChars, boolean allowAnchors, boolean canEscapeAnchor)voidsetLinkChars(com.vladsch.flexmark.util.sequence.BasedSequence linkChars, boolean allowAnchors, boolean canEscapePipe, boolean canEscapeAnchor)voidsetOpeningMarker(com.vladsch.flexmark.util.sequence.BasedSequence openingMarker)voidsetPageRef(com.vladsch.flexmark.util.sequence.BasedSequence pageRef)voidsetText(com.vladsch.flexmark.util.sequence.BasedSequence text)voidsetTextSeparatorMarker(com.vladsch.flexmark.util.sequence.BasedSequence textSeparatorMarker)-
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
-
-
-
-
Field Detail
-
SEPARATOR_CHAR
public static final char SEPARATOR_CHAR
- See Also:
- Constant Field Values
-
openingMarker
protected com.vladsch.flexmark.util.sequence.BasedSequence openingMarker
-
link
protected com.vladsch.flexmark.util.sequence.BasedSequence link
-
pageRef
protected com.vladsch.flexmark.util.sequence.BasedSequence pageRef
-
anchorMarker
protected com.vladsch.flexmark.util.sequence.BasedSequence anchorMarker
-
anchorRef
protected com.vladsch.flexmark.util.sequence.BasedSequence anchorRef
-
textSeparatorMarker
protected com.vladsch.flexmark.util.sequence.BasedSequence textSeparatorMarker
-
text
protected com.vladsch.flexmark.util.sequence.BasedSequence text
-
closingMarker
protected com.vladsch.flexmark.util.sequence.BasedSequence closingMarker
-
linkIsFirst
protected final boolean linkIsFirst
-
-
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
-
isLinkIsFirst
public boolean isLinkIsFirst()
-
isTentative
public boolean isTentative()
- Specified by:
isTentativein interfacecom.vladsch.flexmark.ast.LinkRefDerived- Returns:
- true if this node will be rendered as text because it depends on a reference which is not defined.
-
getOpeningMarker
public com.vladsch.flexmark.util.sequence.BasedSequence getOpeningMarker()
-
setOpeningMarker
public void setOpeningMarker(com.vladsch.flexmark.util.sequence.BasedSequence openingMarker)
-
getPageRef
public com.vladsch.flexmark.util.sequence.BasedSequence getPageRef()
-
setPageRef
public void setPageRef(com.vladsch.flexmark.util.sequence.BasedSequence pageRef)
-
getTextSeparatorMarker
public com.vladsch.flexmark.util.sequence.BasedSequence getTextSeparatorMarker()
-
setTextSeparatorMarker
public void setTextSeparatorMarker(com.vladsch.flexmark.util.sequence.BasedSequence textSeparatorMarker)
-
getText
public com.vladsch.flexmark.util.sequence.BasedSequence getText()
-
setText
public void setText(com.vladsch.flexmark.util.sequence.BasedSequence text)
-
getClosingMarker
public com.vladsch.flexmark.util.sequence.BasedSequence getClosingMarker()
-
setClosingMarker
public void setClosingMarker(com.vladsch.flexmark.util.sequence.BasedSequence closingMarker)
-
getAnchorMarker
public com.vladsch.flexmark.util.sequence.BasedSequence getAnchorMarker()
-
setAnchorMarker
public void setAnchorMarker(com.vladsch.flexmark.util.sequence.BasedSequence anchorMarker)
-
getAnchorRef
public com.vladsch.flexmark.util.sequence.BasedSequence getAnchorRef()
-
setAnchorRef
public void setAnchorRef(com.vladsch.flexmark.util.sequence.BasedSequence anchorRef)
-
getLink
public com.vladsch.flexmark.util.sequence.BasedSequence getLink()
-
setLink
public void setLink(com.vladsch.flexmark.util.sequence.BasedSequence linkChars, boolean allowAnchors, boolean canEscapeAnchor)
-
setLinkChars
public void setLinkChars(com.vladsch.flexmark.util.sequence.BasedSequence linkChars, boolean allowAnchors, boolean canEscapePipe, boolean canEscapeAnchor)
-
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.TextContainer
-
-