Markuppublic class IndexingSink extends SinkAdapter
COLON, EOL, EQUAL, GREATER_THAN, LEFT_CURLY_BRACKET, LEFT_SQUARE_BRACKET, LESS_THAN, MINUS, PLUS, QUOTE, RIGHT_CURLY_BRACKET, RIGHT_SQUARE_BRACKET, SEMICOLON, SLASH, SPACE, STARJUSTIFY_CENTER, JUSTIFY_LEFT, JUSTIFY_RIGHT, NUMBERING_DECIMAL, NUMBERING_LOWER_ALPHA, NUMBERING_LOWER_ROMAN, NUMBERING_UPPER_ALPHA, NUMBERING_UPPER_ROMAN, ROLE, SECTION_LEVEL_1, SECTION_LEVEL_2, SECTION_LEVEL_3, SECTION_LEVEL_4, SECTION_LEVEL_5, SECTION_LEVEL_6| Constructor | Description |
|---|---|
IndexingSink(IndexEntry sectionEntry) |
Default constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
java.lang.String |
getTitle() |
Getter for the field
title. |
protected void |
init() |
This is called in
Sink.head() or in Sink.close(), and can be used
to set the sink into a clear state so it can be re-used. |
IndexEntry |
peek() |
peek.
|
void |
pop() |
Removes the IndexEntry at the top of this stack.
|
void |
push(IndexEntry entry) |
Pushes an IndexEntry onto the top of this stack.
|
void |
section1_() |
|
void |
section2_() |
|
void |
section3_() |
|
void |
section4_() |
|
void |
section5_() |
|
void |
sectionTitle1() |
|
void |
sectionTitle1_() |
|
void |
sectionTitle2() |
|
void |
sectionTitle2_() |
|
void |
sectionTitle3() |
|
void |
sectionTitle3_() |
|
void |
sectionTitle4() |
|
void |
sectionTitle4_() |
|
void |
sectionTitle5() |
|
void |
sectionTitle5_() |
|
void |
text(java.lang.String text) |
|
void |
title() |
|
void |
title_() |
enableLogging, getLog, unifyEOLsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitanchor, anchor, anchor_, author, author, author_, body, body, body_, bold, bold_, comment, date, date, date_, definedTerm, definedTerm, definedTerm_, definition, definition, definition_, definitionList, definitionList, definitionList_, definitionListItem, definitionListItem, definitionListItem_, figure, figure, figure_, figureCaption, figureCaption, figureCaption_, figureGraphics, figureGraphics, flush, head, head, head_, horizontalRule, horizontalRule, italic, italic_, lineBreak, lineBreak, link, link, link_, list, list, list_, listItem, listItem, listItem_, monospaced, monospaced_, nonBreakingSpace, numberedList, numberedList, numberedList_, numberedListItem, numberedListItem, numberedListItem_, pageBreak, paragraph, paragraph, paragraph_, rawText, section, section_, section1, section2, section3, section4, section5, section6, section6_, sectionTitle, sectionTitle, sectionTitle_, sectionTitle_, sectionTitle6, sectionTitle6_, table, table, table_, tableCaption, tableCaption, tableCaption_, tableCell, tableCell, tableCell, tableCell_, tableHeaderCell, tableHeaderCell, tableHeaderCell, tableHeaderCell_, tableRow, tableRow, tableRow_, tableRows, tableRows_, text, title, unknown, verbatim, verbatim, verbatim_public IndexingSink(IndexEntry sectionEntry)
sectionEntry - The first index entry.public java.lang.String getTitle()
Getter for the field title.
public void title()
title in class SinkAdapterpublic void sectionTitle1()
sectionTitle1 in class SinkAdapterpublic void title_()
title_ in class SinkAdapterpublic void sectionTitle1_()
sectionTitle1_ in class SinkAdapterpublic void section1_()
section1_ in class SinkAdapterpublic void sectionTitle2()
sectionTitle2 in class SinkAdapterpublic void sectionTitle2_()
sectionTitle2_ in class SinkAdapterpublic void section2_()
section2_ in class SinkAdapterpublic void sectionTitle3()
sectionTitle3 in class SinkAdapterpublic void sectionTitle3_()
sectionTitle3_ in class SinkAdapterpublic void section3_()
section3_ in class SinkAdapterpublic void sectionTitle4()
sectionTitle4 in class SinkAdapterpublic void sectionTitle4_()
sectionTitle4_ in class SinkAdapterpublic void section4_()
section4_ in class SinkAdapterpublic void sectionTitle5()
sectionTitle5 in class SinkAdapterpublic void sectionTitle5_()
sectionTitle5_ in class SinkAdapterpublic void section5_()
section5_ in class SinkAdapterpublic void text(java.lang.String text)
text in class SinkAdapterpublic void push(IndexEntry entry)
entry - to put.public void pop()
public IndexEntry peek()
peek.
public void close()
close in class SinkAdapterprotected void init()
Sink.head() or in Sink.close(), and can be used
to set the sink into a clear state so it can be re-used.init in class AbstractSink