|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Sink
public void anchor_()
anchor_
in interface Sink
public void author()
author
in interface Sink
public void author(SinkEventAttributes attributes)
author
in interface Sink
public void author_()
author_
in interface Sink
public void body()
body
in interface Sink
public void body(SinkEventAttributes attributes)
body
in interface Sink
public void body_()
body_
in interface Sink
public void bold()
bold
in interface Sink
public void bold_()
bold_
in interface Sink
public void close()
close
in interface Sink
public void comment(String comment)
comment
in interface Sink
public void date()
date
in interface Sink
public void date(SinkEventAttributes attributes)
date
in interface Sink
public void date_()
date_
in interface Sink
public void definedTerm()
definedTerm
in interface Sink
public void definedTerm(SinkEventAttributes attributes)
definedTerm
in interface Sink
public void definedTerm_()
definedTerm_
in interface Sink
public void definition()
definition
in interface Sink
public void definition(SinkEventAttributes attributes)
definition
in interface Sink
public void definitionList()
definitionList
in interface Sink
public void definitionList(SinkEventAttributes attributes)
definitionList
in interface Sink
public void definitionListItem()
definitionListItem
in interface Sink
public void definitionListItem(SinkEventAttributes attributes)
definitionListItem
in interface Sink
public void definitionListItem_()
definitionListItem_
in interface Sink
public void definitionList_()
definitionList_
in interface Sink
public void definition_()
definition_
in interface Sink
public void figure()
figure
in interface Sink
public void figure(SinkEventAttributes attributes)
figure
in interface Sink
public void figureCaption()
figureCaption
in interface Sink
public void figureCaption(SinkEventAttributes attributes)
figureCaption
in interface Sink
public void figureCaption_()
figureCaption_
in interface Sink
public void figureGraphics(String name)
figureGraphics
in interface Sink
public void figureGraphics(String src, SinkEventAttributes attributes)
figureGraphics
in interface Sink
public void figure_()
figure_
in interface Sink
public void flush()
flush
in interface Sink
public void head()
head
in interface Sink
public void head(SinkEventAttributes attributes)
head
in interface Sink
public void head_()
head_
in interface Sink
public void horizontalRule()
horizontalRule
in interface Sink
public void horizontalRule(SinkEventAttributes attributes)
horizontalRule
in interface Sink
public void italic()
italic
in interface Sink
public void italic_()
italic_
in interface Sink
public void lineBreak()
lineBreak
in interface Sink
public void lineBreak(SinkEventAttributes attributes)
lineBreak
in interface Sink
public void link(String name)
link
in interface Sink
public void link(String name, SinkEventAttributes attributes)
link
in interface Sink
public void link_()
link_
in interface Sink
public void list()
list
in interface Sink
public void list(SinkEventAttributes attributes)
list
in interface Sink
public void listItem()
listItem
in interface Sink
public void listItem(SinkEventAttributes attributes)
listItem
in interface Sink
public void listItem_()
listItem_
in interface Sink
public void list_()
list_
in interface Sink
public void monospaced()
monospaced
in interface Sink
public void monospaced_()
monospaced_
in interface Sink
public void nonBreakingSpace()
nonBreakingSpace
in interface Sink
public void numberedList(int numbering)
numberedList
in interface Sink
public void numberedList(int numbering, SinkEventAttributes attributes)
numberedList
in interface Sink
public void numberedListItem()
numberedListItem
in interface Sink
public void numberedListItem(SinkEventAttributes attributes)
numberedListItem
in interface Sink
public void numberedListItem_()
numberedListItem_
in interface Sink
public void numberedList_()
numberedList_
in interface Sink
public void pageBreak()
pageBreak
in interface Sink
public void paragraph()
paragraph
in interface Sink
public void paragraph(SinkEventAttributes attributes)
paragraph
in interface Sink
public void paragraph_()
paragraph_
in interface Sink
public void rawText(String text)
rawText
in interface Sink
public void section(int level, SinkEventAttributes attributes)
section
in interface Sink
public void section1()
section1
in interface Sink
public void section1_()
section1_
in interface Sink
public void section2()
section2
in interface Sink
public void section2_()
section2_
in interface Sink
public void section3()
section3
in interface Sink
public void section3_()
section3_
in interface Sink
public void section4()
section4
in interface Sink
public void section4_()
section4_
in interface Sink
public void section5()
section5
in interface Sink
public void section5_()
section5_
in interface Sink
public void sectionTitle()
sectionTitle
in interface Sink
public void sectionTitle(int level, SinkEventAttributes attributes)
sectionTitle
in interface Sink
public void sectionTitle1()
sectionTitle1
in interface Sink
public void sectionTitle1_()
sectionTitle1_
in interface Sink
public void sectionTitle2()
sectionTitle2
in interface Sink
public void sectionTitle2_()
sectionTitle2_
in interface Sink
public void sectionTitle3()
sectionTitle3
in interface Sink
public void sectionTitle3_()
sectionTitle3_
in interface Sink
public void sectionTitle4()
sectionTitle4
in interface Sink
public void sectionTitle4_()
sectionTitle4_
in interface Sink
public void sectionTitle5()
sectionTitle5
in interface Sink
public void sectionTitle5_()
sectionTitle5_
in interface Sink
public void sectionTitle_()
sectionTitle_
in interface Sink
public void sectionTitle_(int level)
sectionTitle_
in interface Sink
public void section_(int level)
section_
in interface Sink
public void table()
table
in interface Sink
public void table(SinkEventAttributes attributes)
table
in interface Sink
public void tableCaption()
tableCaption
in interface Sink
public void tableCaption(SinkEventAttributes attributes)
tableCaption
in interface Sink
public void tableCaption_()
tableCaption_
in interface Sink
public void tableCell()
tableCell
in interface Sink
public void tableCell(String width)
tableCell
in interface Sink
public void tableCell(SinkEventAttributes attributes)
tableCell
in interface Sink
public void tableCell_()
tableCell_
in interface Sink
public void tableHeaderCell()
tableHeaderCell
in interface Sink
public void tableHeaderCell(String width)
tableHeaderCell
in interface Sink
public void tableHeaderCell(SinkEventAttributes attributes)
tableHeaderCell
in interface Sink
public void tableHeaderCell_()
tableHeaderCell_
in interface Sink
public void tableRow()
tableRow
in interface Sink
public void tableRow(SinkEventAttributes attributes)
tableRow
in interface Sink
public void tableRow_()
tableRow_
in interface Sink
public void tableRows(int[] justification, boolean grid)
tableRows
in interface Sink
public void tableRows_()
tableRows_
in interface Sink
public void table_()
table_
in interface Sink
public void text(String text)
text
in interface Sink
public void text(String text, SinkEventAttributes attributes)
text
in interface Sink
public void title()
title
in interface Sink
public void title(SinkEventAttributes attributes)
title
in interface Sink
public void title_()
title_
in interface Sink
public void unknown(String name, Object[] requiredParams, SinkEventAttributes attributes)
unknown
in interface Sink
public void verbatim(boolean boxed)
verbatim
in interface Sink
public void verbatim(SinkEventAttributes attributes)
verbatim
in interface Sink
public void verbatim_()
verbatim_
in interface Sink
public void enableLogging(Log log)
enableLogging
in interface LogEnabled
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |