|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.doxia.sink.RandomAccessSink
public class RandomAccessSink
The RandomAccessSink provides the ability to create a Sink with hooks.
A page can be prepared by first creating its structure and specifying the positions of these hooks.
After specifying the structure, the page can be filled with content from one or more models.
These hooks can prevent you to have to loop over the model multiple times to build the page as desired.
| 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 |
| Constructor Summary | |
|---|---|
RandomAccessSink(SinkFactory sinkFactory,
File outputDirectory,
String outputName)
|
|
RandomAccessSink(SinkFactory sinkFactory,
File outputDirectory,
String outputName,
String encoding)
|
|
RandomAccessSink(SinkFactory sinkFactory,
OutputStream stream)
|
|
RandomAccessSink(SinkFactory sinkFactory,
OutputStream stream,
String encoding)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RandomAccessSink(SinkFactory sinkFactory,
OutputStream stream)
throws IOException
IOException
public RandomAccessSink(SinkFactory sinkFactory,
OutputStream stream,
String encoding)
throws IOException
IOException
public RandomAccessSink(SinkFactory sinkFactory,
File outputDirectory,
String outputName)
throws IOException
IOException
public RandomAccessSink(SinkFactory sinkFactory,
File outputDirectory,
String outputName,
String encoding)
throws IOException
IOException| Method Detail |
|---|
public Sink addSinkHook()
public void anchor(String name)
anchor in interface Sink
public void anchor(String name,
SinkEventAttributes attributes)
anchor in interface Sinkpublic void anchor_()
anchor_ in interface Sinkpublic void author()
author in interface Sinkpublic void author(SinkEventAttributes attributes)
author in interface Sinkpublic void author_()
author_ in interface Sinkpublic void body()
body in interface Sinkpublic void body(SinkEventAttributes attributes)
body in interface Sinkpublic void body_()
body_ in interface Sinkpublic void bold()
bold in interface Sinkpublic void bold_()
bold_ in interface Sinkpublic void close()
close in interface Sinkpublic void comment(String comment)
comment in interface Sinkpublic void date()
date in interface Sinkpublic void date(SinkEventAttributes attributes)
date in interface Sinkpublic void date_()
date_ in interface Sinkpublic void definedTerm()
definedTerm in interface Sinkpublic void definedTerm(SinkEventAttributes attributes)
definedTerm in interface Sinkpublic void definedTerm_()
definedTerm_ in interface Sinkpublic void definition()
definition in interface Sinkpublic void definition(SinkEventAttributes attributes)
definition in interface Sinkpublic void definitionList()
definitionList in interface Sinkpublic void definitionList(SinkEventAttributes attributes)
definitionList in interface Sinkpublic void definitionListItem()
definitionListItem in interface Sinkpublic void definitionListItem(SinkEventAttributes attributes)
definitionListItem in interface Sinkpublic void definitionListItem_()
definitionListItem_ in interface Sinkpublic void definitionList_()
definitionList_ in interface Sinkpublic void definition_()
definition_ in interface Sinkpublic void figure()
figure in interface Sinkpublic void figure(SinkEventAttributes attributes)
figure in interface Sinkpublic void figureCaption()
figureCaption in interface Sinkpublic void figureCaption(SinkEventAttributes attributes)
figureCaption in interface Sinkpublic void figureCaption_()
figureCaption_ in interface Sinkpublic void figureGraphics(String name)
figureGraphics in interface Sink
public void figureGraphics(String src,
SinkEventAttributes attributes)
figureGraphics in interface Sinkpublic void figure_()
figure_ in interface Sinkpublic void flush()
flush in interface Sinkpublic void head()
head in interface Sinkpublic void head(SinkEventAttributes attributes)
head in interface Sinkpublic void head_()
head_ in interface Sinkpublic void horizontalRule()
horizontalRule in interface Sinkpublic void horizontalRule(SinkEventAttributes attributes)
horizontalRule in interface Sinkpublic void italic()
italic in interface Sinkpublic void italic_()
italic_ in interface Sinkpublic void lineBreak()
lineBreak in interface Sinkpublic void lineBreak(SinkEventAttributes attributes)
lineBreak in interface Sinkpublic void link(String name)
link in interface Sink
public void link(String name,
SinkEventAttributes attributes)
link in interface Sinkpublic void link_()
link_ in interface Sinkpublic void list()
list in interface Sinkpublic void list(SinkEventAttributes attributes)
list in interface Sinkpublic void listItem()
listItem in interface Sinkpublic void listItem(SinkEventAttributes attributes)
listItem in interface Sinkpublic void listItem_()
listItem_ in interface Sinkpublic void list_()
list_ in interface Sinkpublic void monospaced()
monospaced in interface Sinkpublic void monospaced_()
monospaced_ in interface Sinkpublic void nonBreakingSpace()
nonBreakingSpace in interface Sinkpublic void numberedList(int numbering)
numberedList in interface Sink
public void numberedList(int numbering,
SinkEventAttributes attributes)
numberedList in interface Sinkpublic void numberedListItem()
numberedListItem in interface Sinkpublic void numberedListItem(SinkEventAttributes attributes)
numberedListItem in interface Sinkpublic void numberedListItem_()
numberedListItem_ in interface Sinkpublic void numberedList_()
numberedList_ in interface Sinkpublic void pageBreak()
pageBreak in interface Sinkpublic void paragraph()
paragraph in interface Sinkpublic void paragraph(SinkEventAttributes attributes)
paragraph in interface Sinkpublic void paragraph_()
paragraph_ in interface Sinkpublic void rawText(String text)
rawText in interface Sink
public void section(int level,
SinkEventAttributes attributes)
section in interface Sinkpublic void section1()
section1 in interface Sinkpublic void section1_()
section1_ in interface Sinkpublic void section2()
section2 in interface Sinkpublic void section2_()
section2_ in interface Sinkpublic void section3()
section3 in interface Sinkpublic void section3_()
section3_ in interface Sinkpublic void section4()
section4 in interface Sinkpublic void section4_()
section4_ in interface Sinkpublic void section5()
section5 in interface Sinkpublic void section5_()
section5_ in interface Sinkpublic void sectionTitle()
sectionTitle in interface Sink
public void sectionTitle(int level,
SinkEventAttributes attributes)
sectionTitle in interface Sinkpublic void sectionTitle1()
sectionTitle1 in interface Sinkpublic void sectionTitle1_()
sectionTitle1_ in interface Sinkpublic void sectionTitle2()
sectionTitle2 in interface Sinkpublic void sectionTitle2_()
sectionTitle2_ in interface Sinkpublic void sectionTitle3()
sectionTitle3 in interface Sinkpublic void sectionTitle3_()
sectionTitle3_ in interface Sinkpublic void sectionTitle4()
sectionTitle4 in interface Sinkpublic void sectionTitle4_()
sectionTitle4_ in interface Sinkpublic void sectionTitle5()
sectionTitle5 in interface Sinkpublic void sectionTitle5_()
sectionTitle5_ in interface Sinkpublic void sectionTitle_()
sectionTitle_ in interface Sinkpublic void sectionTitle_(int level)
sectionTitle_ in interface Sinkpublic void section_(int level)
section_ in interface Sinkpublic void table()
table in interface Sinkpublic void table(SinkEventAttributes attributes)
table in interface Sinkpublic void tableCaption()
tableCaption in interface Sinkpublic void tableCaption(SinkEventAttributes attributes)
tableCaption in interface Sinkpublic void tableCaption_()
tableCaption_ in interface Sinkpublic void tableCell()
tableCell in interface Sinkpublic void tableCell(String width)
tableCell in interface Sinkpublic void tableCell(SinkEventAttributes attributes)
tableCell in interface Sinkpublic void tableCell_()
tableCell_ in interface Sinkpublic void tableHeaderCell()
tableHeaderCell in interface Sinkpublic void tableHeaderCell(String width)
tableHeaderCell in interface Sinkpublic void tableHeaderCell(SinkEventAttributes attributes)
tableHeaderCell in interface Sinkpublic void tableHeaderCell_()
tableHeaderCell_ in interface Sinkpublic void tableRow()
tableRow in interface Sinkpublic void tableRow(SinkEventAttributes attributes)
tableRow in interface Sinkpublic void tableRow_()
tableRow_ in interface Sink
public void tableRows(int[] justification,
boolean grid)
tableRows in interface Sinkpublic void tableRows_()
tableRows_ in interface Sinkpublic void table_()
table_ in interface Sinkpublic void text(String text)
text in interface Sink
public void text(String text,
SinkEventAttributes attributes)
text in interface Sinkpublic void title()
title in interface Sinkpublic void title(SinkEventAttributes attributes)
title in interface Sinkpublic void title_()
title_ in interface Sink
public void unknown(String name,
Object[] requiredParams,
SinkEventAttributes attributes)
unknown in interface Sinkpublic void verbatim(boolean boxed)
verbatim in interface Sinkpublic void verbatim(SinkEventAttributes attributes)
verbatim in interface Sinkpublic void verbatim_()
verbatim_ in interface Sinkpublic void enableLogging(Log log)
enableLogging in interface LogEnabled
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||