public class FootnoteBlock extends CustomBlock implements ReferenceNode<FootnoteRepository,FootnoteBlock,Footnote>
| Modifier and Type | Field and Description |
|---|---|
protected BasedSequence |
closingMarker |
protected BasedSequence |
footnote |
protected BasedSequence |
openingMarker |
protected BasedSequence |
text |
lineSegmentsEMPTY_SEGMENTS, SPLICE| Constructor and Description |
|---|
FootnoteBlock() |
FootnoteBlock(BasedSequence chars) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFirstReferenceOffset(int firstReferenceOffset) |
int |
compareTo(FootnoteBlock other) |
void |
getAstExtra(StringBuilder out) |
BasedSequence |
getClosingMarker() |
int |
getFirstReferenceOffset() |
BasedSequence |
getFootnote() |
int |
getFootnoteOrdinal() |
BasedSequence |
getOpeningMarker() |
Footnote |
getReferencingNode(Node node) |
BasedSequence[] |
getSegments() |
BasedSequence |
getText() |
boolean |
isReferenced() |
void |
setClosingMarker(BasedSequence closingMarker) |
void |
setFirstReferenceOffset(int firstReferenceOffset) |
void |
setFootnote(BasedSequence footnote) |
void |
setFootnoteOrdinal(int footnoteOrdinal) |
void |
setOpeningMarker(BasedSequence openingMarker) |
void |
setText(BasedSequence text) |
getContentChars, getContentChars, getContentLines, getContentLines, getLineChars, getLineCount, getSpanningChars, setContent, setContent, setContent, setContentLine, setContentLinesappendChild, 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, 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, spanningChars, takeChildren, toAstString, toSegmentSpan, toString, toStringAttributes, unlinkprotected BasedSequence openingMarker
protected BasedSequence text
protected BasedSequence closingMarker
protected BasedSequence footnote
public FootnoteBlock()
public FootnoteBlock(BasedSequence chars)
public int compareTo(FootnoteBlock other)
compareTo in interface Comparable<FootnoteBlock>public Footnote getReferencingNode(Node node)
getReferencingNode in interface ReferenceNode<FootnoteRepository,FootnoteBlock,Footnote>public int getFirstReferenceOffset()
public void setFirstReferenceOffset(int firstReferenceOffset)
public void addFirstReferenceOffset(int firstReferenceOffset)
public boolean isReferenced()
public int getFootnoteOrdinal()
public void setFootnoteOrdinal(int footnoteOrdinal)
public void getAstExtra(StringBuilder out)
getAstExtra in class Nodepublic BasedSequence[] getSegments()
getSegments in class Nodepublic BasedSequence getOpeningMarker()
public void setOpeningMarker(BasedSequence openingMarker)
public BasedSequence getText()
public void setText(BasedSequence text)
public BasedSequence getClosingMarker()
public void setClosingMarker(BasedSequence closingMarker)
public BasedSequence getFootnote()
public void setFootnote(BasedSequence footnote)
Copyright © 2017. All rights reserved.