public class WikiNode extends CustomNode implements DoNotDecorate
| Modifier and Type | Field and Description |
|---|---|
protected BasedSequence |
anchorMarker |
protected BasedSequence |
anchorRef |
protected BasedSequence |
closingMarker |
protected BasedSequence |
link |
protected boolean |
linkIsFirst |
protected BasedSequence |
openingMarker |
protected BasedSequence |
pageRef |
protected BasedSequence |
text |
protected BasedSequence |
textSeparatorMarker |
EMPTY_SEGMENTS, SPLICE| Constructor and Description |
|---|
WikiNode(BasedSequence chars,
boolean linkIsFirst,
boolean allowAnchors,
boolean canEscapePipe,
boolean canEscapeAnchor) |
WikiNode(boolean linkIsFirst) |
| Modifier and Type | Method and Description |
|---|---|
BasedSequence |
getAnchorMarker() |
BasedSequence |
getAnchorRef() |
void |
getAstExtra(StringBuilder out) |
BasedSequence |
getClosingMarker() |
BasedSequence |
getLink() |
BasedSequence |
getOpeningMarker() |
BasedSequence |
getPageRef() |
BasedSequence[] |
getSegments() |
BasedSequence |
getText() |
BasedSequence |
getTextSeparatorMarker() |
boolean |
isLinkIsFirst() |
void |
setAnchorMarker(BasedSequence anchorMarker) |
void |
setAnchorRef(BasedSequence anchorRef) |
void |
setClosingMarker(BasedSequence closingMarker) |
void |
setLink(BasedSequence linkChars,
boolean allowAnchors,
boolean canEscapeAnchor) |
void |
setLinkChars(BasedSequence linkChars,
boolean allowAnchors,
boolean canEscapePipe,
boolean canEscapeAnchor) |
void |
setOpeningMarker(BasedSequence openingMarker) |
void |
setPageRef(BasedSequence pageRef) |
void |
setText(BasedSequence text) |
void |
setTextSeparatorMarker(BasedSequence textSeparatorMarker) |
appendChild, astChars, astExtraChars, astString, delimitedSegmentSpan, delimitedSegmentSpanChars, deNullify, getAncestorOfType, getBlankLineSibling, getChars, getChildChars, getChildIterator, getChildOfType, getChildren, getDescendants, getDocument, getEndOffset, getFirstChild, getFirstChildAny, getFirstChildAnyNot, getLastBlankLineChild, getLastChild, getLastChildAny, getLastChildAnyNot, getLeadSegment, getNext, getNextAny, getNextAnyNot, getNodeName, getNodeOfTypeIndex, getNodeOfTypeIndex, getOldestAncestorOfTypeAfter, getParent, getPrevious, getPreviousAny, getPreviousAnyNot, getReversedChildIterator, getReversedChildren, getReversedDescendants, getStartOffset, getTextLength, getTrailSegment, hasChildren, hasOrMoreChildren, insertAfter, insertBefore, isOrDescendantOfType, moveTrailingBlankLines, prependChild, removeChildren, segmentSpan, segmentSpan, segmentSpanChars, segmentSpanChars, segmentSpanChars, setChars, setCharsFromContent, setCharsFromContentOnly, setParent, spanningChars, takeChildren, toAstString, toSegmentSpan, toString, toStringAttributes, unlinkprotected BasedSequence openingMarker
protected BasedSequence link
protected BasedSequence pageRef
protected BasedSequence anchorMarker
protected BasedSequence anchorRef
protected BasedSequence textSeparatorMarker
protected BasedSequence text
protected BasedSequence closingMarker
protected final boolean linkIsFirst
public WikiNode(boolean linkIsFirst)
public WikiNode(BasedSequence chars, boolean linkIsFirst, boolean allowAnchors, boolean canEscapePipe, boolean canEscapeAnchor)
public BasedSequence[] getSegments()
getSegments in class Nodepublic void getAstExtra(StringBuilder out)
getAstExtra in class Nodepublic boolean isLinkIsFirst()
public BasedSequence getOpeningMarker()
public void setOpeningMarker(BasedSequence openingMarker)
public BasedSequence getPageRef()
public void setPageRef(BasedSequence pageRef)
public BasedSequence getTextSeparatorMarker()
public void setTextSeparatorMarker(BasedSequence textSeparatorMarker)
public BasedSequence getText()
public void setText(BasedSequence text)
public BasedSequence getClosingMarker()
public void setClosingMarker(BasedSequence closingMarker)
public BasedSequence getAnchorMarker()
public void setAnchorMarker(BasedSequence anchorMarker)
public BasedSequence getAnchorRef()
public void setAnchorRef(BasedSequence anchorRef)
public BasedSequence getLink()
public void setLink(BasedSequence linkChars, boolean allowAnchors, boolean canEscapeAnchor)
public void setLinkChars(BasedSequence linkChars, boolean allowAnchors, boolean canEscapePipe, boolean canEscapeAnchor)
Copyright © 2017. All rights reserved.