public class IndexingSink extends SinkAdapter
JUSTIFY_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_6COLON, EOL, EQUAL, GREATER_THAN, LEFT_CURLY_BRACKET, LEFT_SQUARE_BRACKET, LESS_THAN, MINUS, PLUS, QUOTE, RIGHT_CURLY_BRACKET, RIGHT_SQUARE_BRACKET, SEMICOLON, SLASH, SPACE, STAR| Constructor and Description |
|---|
IndexingSink(IndexEntry sectionEntry)
Default constructor.
|
| Modifier and Type | Method and 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() |
anchor_, 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, verbatimenableLogging, getLog, unifyEOLspublic IndexingSink(IndexEntry sectionEntry)
sectionEntry - The first index entry.public java.lang.String getTitle()
Getter for the field title.
public void title()
title in interface org.apache.maven.doxia.sink.Sinktitle in class SinkAdapterpublic void sectionTitle1()
sectionTitle1 in interface org.apache.maven.doxia.sink.SinksectionTitle1 in class SinkAdapterpublic void title_()
title_ in interface org.apache.maven.doxia.sink.Sinktitle_ in class SinkAdapterpublic void sectionTitle1_()
sectionTitle1_ in interface org.apache.maven.doxia.sink.SinksectionTitle1_ in class SinkAdapterpublic void section1_()
section1_ in interface org.apache.maven.doxia.sink.Sinksection1_ in class SinkAdapterpublic void sectionTitle2()
sectionTitle2 in interface org.apache.maven.doxia.sink.SinksectionTitle2 in class SinkAdapterpublic void sectionTitle2_()
sectionTitle2_ in interface org.apache.maven.doxia.sink.SinksectionTitle2_ in class SinkAdapterpublic void section2_()
section2_ in interface org.apache.maven.doxia.sink.Sinksection2_ in class SinkAdapterpublic void sectionTitle3()
sectionTitle3 in interface org.apache.maven.doxia.sink.SinksectionTitle3 in class SinkAdapterpublic void sectionTitle3_()
sectionTitle3_ in interface org.apache.maven.doxia.sink.SinksectionTitle3_ in class SinkAdapterpublic void section3_()
section3_ in interface org.apache.maven.doxia.sink.Sinksection3_ in class SinkAdapterpublic void sectionTitle4()
sectionTitle4 in interface org.apache.maven.doxia.sink.SinksectionTitle4 in class SinkAdapterpublic void sectionTitle4_()
sectionTitle4_ in interface org.apache.maven.doxia.sink.SinksectionTitle4_ in class SinkAdapterpublic void section4_()
section4_ in interface org.apache.maven.doxia.sink.Sinksection4_ in class SinkAdapterpublic void sectionTitle5()
sectionTitle5 in interface org.apache.maven.doxia.sink.SinksectionTitle5 in class SinkAdapterpublic void sectionTitle5_()
sectionTitle5_ in interface org.apache.maven.doxia.sink.SinksectionTitle5_ in class SinkAdapterpublic void section5_()
section5_ in interface org.apache.maven.doxia.sink.Sinksection5_ in class SinkAdapterpublic void text(java.lang.String text)
text in interface org.apache.maven.doxia.sink.Sinktext in class SinkAdapterpublic void push(IndexEntry entry)
entry - to put.public void pop()
public IndexEntry peek()
peek.
public void close()
close in interface org.apache.maven.doxia.sink.Sinkclose 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