|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.doxia.sink.AbstractSink
org.apache.maven.doxia.sink.SinkAdapter
org.apache.maven.doxia.index.IndexingSink
public class IndexingSink
A sink implementation for index.
| Field Summary |
|---|
| Fields inherited from interface org.apache.maven.doxia.sink.Sink |
|---|
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 |
| Fields inherited from interface org.apache.maven.doxia.markup.Markup |
|---|
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, STAR |
| Constructor Summary | |
|---|---|
IndexingSink(IndexEntry sectionEntry)
Default constructor. |
|
| Method Summary | |
|---|---|
void |
close()
|
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(String text)
|
void |
title_()
|
void |
title()
|
| Methods inherited from class org.apache.maven.doxia.sink.AbstractSink |
|---|
enableLogging, getLog, unifyEOLs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndexingSink(IndexEntry sectionEntry)
sectionEntry - The first index entry.| Method Detail |
|---|
public String getTitle()
Getter for the field title.
public void title()
title in interface Sinktitle in class SinkAdapterpublic void sectionTitle1()
sectionTitle1 in interface SinksectionTitle1 in class SinkAdapterpublic void title_()
title_ in interface Sinktitle_ in class SinkAdapterpublic void sectionTitle1_()
SinkAdapter
sectionTitle1_ in interface SinksectionTitle1_ in class SinkAdapterpublic void section1_()
section1_ in interface Sinksection1_ in class SinkAdapterpublic void sectionTitle2()
sectionTitle2 in interface SinksectionTitle2 in class SinkAdapterpublic void sectionTitle2_()
SinkAdapter
sectionTitle2_ in interface SinksectionTitle2_ in class SinkAdapterpublic void section2_()
section2_ in interface Sinksection2_ in class SinkAdapterpublic void sectionTitle3()
sectionTitle3 in interface SinksectionTitle3 in class SinkAdapterpublic void sectionTitle3_()
SinkAdapter
sectionTitle3_ in interface SinksectionTitle3_ in class SinkAdapterpublic void section3_()
section3_ in interface Sinksection3_ in class SinkAdapterpublic void sectionTitle4()
sectionTitle4 in interface SinksectionTitle4 in class SinkAdapterpublic void sectionTitle4_()
SinkAdapter
sectionTitle4_ in interface SinksectionTitle4_ in class SinkAdapterpublic void section4_()
section4_ in interface Sinksection4_ in class SinkAdapterpublic void sectionTitle5()
sectionTitle5 in interface SinksectionTitle5 in class SinkAdapterpublic void sectionTitle5_()
SinkAdapter
sectionTitle5_ in interface SinksectionTitle5_ in class SinkAdapterpublic void section5_()
section5_ in interface Sinksection5_ in class SinkAdapterpublic void text(String text)
text in interface Sinktext in class SinkAdapterpublic void push(IndexEntry entry)
entry - to put.public void pop()
public IndexEntry peek()
peek.
public void close()
close in interface 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||