|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.doxia.sink.SinkAdapter
public class SinkAdapter
Empty implementation of the Sink
interface. Useful for testing purposes.
Field Summary |
---|
Fields inherited from interface org.apache.maven.doxia.sink.Sink |
---|
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 | |
---|---|
SinkAdapter()
|
Method Summary | |
---|---|
void |
anchor_()
Ending an anchor element. |
void |
anchor(java.lang.String name)
Starting an element which defines an anchor. |
void |
author_()
Ending the author element. |
void |
author()
Starting the author element which is used to identify the author of the document. |
void |
body_()
Ending the body element. |
void |
body()
Starting the body of a document which contains the document's content. |
void |
bold_()
Ending a bold element. |
void |
bold()
Starting a bold element. |
void |
close()
Close the writer or the stream, if needed. |
void |
date_()
Ending the date element. |
void |
date()
Starting the date element which is used to identify the date of the document. |
void |
definedTerm_()
Starting a definition term element within a definition list. |
void |
definedTerm()
Starting a definition term element within a definition list. |
void |
definition_()
Ending a definition element within a definition list. |
void |
definition()
Starting a definition element within a definition list. |
void |
definitionList_()
Ending a definition list element. |
void |
definitionList()
Starting a definition list element. |
void |
definitionListItem_()
Ending a list item element within a definition list. |
void |
definitionListItem()
Starting a list item element within a definition list. |
void |
figure_()
Ending a basic image embedding element. |
void |
figure()
Starting a basic image embedding element. |
void |
figureCaption_()
Ending a caption of an image. |
void |
figureCaption()
Starting a caption of an image element. |
void |
figureGraphics(java.lang.String name)
Adding a source of a graphic. |
void |
flush()
Flush the writer or the stream, if needed. |
void |
head_()
Ending the head element. |
void |
head()
Starting the head element which contains information about the current document, such as its title, that is not considered document content. |
void |
horizontalRule()
Adding a separator of sections from a text to each other. |
void |
italic_()
Ending an italic element. |
void |
italic()
Starting an italic element. |
void |
lineBreak()
Adding a line breaks. |
void |
link_()
Ending a link element. |
void |
link(java.lang.String name)
Starting an element which defines a link. |
void |
list_()
Ending an unordered list element. |
void |
list()
Starting an unordered list element. |
void |
listItem_()
Ending a list item element within an unordered list. |
void |
listItem()
Starting a list item element within an unordered list. |
void |
monospaced_()
Ending a monospaced element. |
void |
monospaced()
Starting a monospaced element. |
void |
nonBreakingSpace()
Adding a non breaking space, ie a space without any special formatting operations. |
void |
numberedList_()
Ending an ordered list element. |
void |
numberedList(int numbering)
Starting an ordered list element. |
void |
numberedListItem_()
Ending a list item element within an ordered list. |
void |
numberedListItem()
Starting a list item element within an ordered list. |
void |
pageBreak()
Adding a new page separator. |
void |
paragraph_()
Ending a paragraph element. |
void |
paragraph()
Starting an element which represents a paragraph. |
void |
rawText(java.lang.String text)
Adding a raw text, ie a text without any special formatting operations. |
void |
section1_()
Ending a first heading element. |
void |
section1()
Starting a first heading element which contains the topic of the section. |
void |
section2_()
Ending a second heading element. |
void |
section2()
Starting a second heading element which contains the topic of the section. |
void |
section3_()
Ending a third heading element. |
void |
section3()
Starting a third heading element which contains the topic of the section. |
void |
section4_()
Ending a 4th heading element. |
void |
section4()
Starting a 4th heading element which contains the topic of the section. |
void |
section5_()
Ending a 5th heading element. |
void |
section5()
Starting a 5th heading element which contains the topic of the section. |
void |
sectionTitle_()
Ending a title heading element. |
void |
sectionTitle()
Starting a title heading element. |
void |
sectionTitle1_()
Ending a first title heading element. |
void |
sectionTitle1()
Starting a first title heading element. |
void |
sectionTitle2_()
Ending a second title heading element. |
void |
sectionTitle2()
Starting a second title heading element. |
void |
sectionTitle3_()
Ending a third title heading element. |
void |
sectionTitle3()
Starting a third title heading element. |
void |
sectionTitle4_()
Ending a 4th title heading element. |
void |
sectionTitle4()
Starting a 4th title heading element. |
void |
sectionTitle5_()
Ending a 5th title heading element. |
void |
sectionTitle5()
Starting a 5th title heading element. |
void |
table_()
Ending a table element. |
void |
table()
Starting a table element for marking up tabular information in a document. |
void |
tableCaption_()
Ending a caption element of a table. |
void |
tableCaption()
Starting a caption element of a table. |
void |
tableCell_()
Ending a cell element. |
void |
tableCell()
Starting a cell element which defines a cell that contains data. |
void |
tableCell(java.lang.String width)
Starting a cell element which defines a cell that contains data. |
void |
tableHeaderCell_()
Ending a cell header element. |
void |
tableHeaderCell()
Starting a cell element which defines a cell that contains header information. |
void |
tableHeaderCell(java.lang.String width)
Starting a cell element which defines a cell that contains header information. |
void |
tableRow_()
Ending a row element. |
void |
tableRow()
Starting a row element which acts as a container for a row of table cells. |
void |
tableRows_()
Ending an element contains rows of table data. |
void |
tableRows(int[] justification,
boolean grid)
Starting an element contains rows of table data. |
void |
text(java.lang.String text)
Adding a text. |
void |
title_()
Ending the title element. |
void |
title()
Starting the title element which is used to identify the document. |
void |
verbatim_()
Ending a verbatim element. |
void |
verbatim(boolean boxed)
Starting an element which indicates that whitespace in the enclosed text has semantic relevance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SinkAdapter()
Method Detail |
---|
public void head()
head
in interface Sink
public void head_()
head_
in interface Sink
public void body()
body
in interface Sink
public void body_()
body_
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 list()
list
in interface Sink
public void list_()
list_
in interface Sink
public void listItem()
listItem
in interface Sink
public void listItem_()
listItem_
in interface Sink
public void numberedList(int numbering)
numberedList
in interface Sink
numbering
- the numbering wantedSink.NUMBERING_DECIMAL
,
Sink.NUMBERING_LOWER_ALPHA
,
Sink.NUMBERING_LOWER_ROMAN
,
Sink.NUMBERING_UPPER_ALPHA
,
Sink.NUMBERING_UPPER_ROMAN
public void numberedList_()
numberedList_
in interface Sink
public void numberedListItem()
numberedListItem
in interface Sink
public void numberedListItem_()
numberedListItem_
in interface Sink
public void definitionList()
definitionList
in interface Sink
public void definitionList_()
definitionList_
in interface Sink
public void definitionListItem()
definitionListItem
in interface Sink
public void definitionListItem_()
definitionListItem_
in interface Sink
public void definition()
definition
in interface Sink
public void definition_()
definition_
in interface Sink
public void figure()
figure
in interface Sink
public void figure_()
figure_
in interface Sink
public void table()
table
in interface Sink
public void table_()
table_
in interface Sink
public void tableRows(int[] justification, boolean grid)
tableRows
in interface Sink
justification
- the justification wantedgrid
- true to provide a grid, false otherwisepublic void tableRows_()
tableRows_
in interface Sink
public void tableRow()
tableRow
in interface Sink
public void tableRow_()
tableRow_
in interface Sink
public void title()
title
in interface Sink
public void title_()
title_
in interface Sink
public void author()
author
in interface Sink
public void author_()
author_
in interface Sink
public void date()
date
in interface Sink
public void date_()
date_
in interface Sink
public void sectionTitle()
sectionTitle
in interface Sink
public void sectionTitle_()
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 paragraph()
paragraph
in interface Sink
public void paragraph_()
paragraph_
in interface Sink
public void verbatim(boolean boxed)
verbatim
in interface Sink
boxed
- true to add a box, false otherwisepublic void verbatim_()
verbatim_
in interface Sink
public void definedTerm()
definedTerm
in interface Sink
public void definedTerm_()
definedTerm_
in interface Sink
public void figureCaption()
figureCaption
in interface Sink
public void figureCaption_()
figureCaption_
in interface Sink
public void tableCell()
tableCell
in interface Sink
public void tableCell(java.lang.String width)
tableCell
in interface Sink
width
- the size of the cellpublic void tableCell_()
tableCell_
in interface Sink
public void tableHeaderCell()
tableHeaderCell
in interface Sink
public void tableHeaderCell(java.lang.String width)
tableHeaderCell
in interface Sink
width
- the size of the header cellpublic void tableHeaderCell_()
tableHeaderCell_
in interface Sink
public void tableCaption()
tableCaption
in interface Sink
public void tableCaption_()
tableCaption_
in interface Sink
public void figureGraphics(java.lang.String name)
figureGraphics
in interface Sink
name
- the sourcepublic void horizontalRule()
horizontalRule
in interface Sink
public void pageBreak()
pageBreak
in interface Sink
public void anchor(java.lang.String name)
anchor
in interface Sink
name
- the name of the anchorpublic void anchor_()
anchor_
in interface Sink
public void link(java.lang.String name)
link
in interface Sink
name
- the name of the linkpublic void link_()
link_
in interface Sink
public void italic()
italic
in interface Sink
public void italic_()
italic_
in interface Sink
public void bold()
bold
in interface Sink
public void bold_()
bold_
in interface Sink
public void monospaced()
monospaced
in interface Sink
public void monospaced_()
monospaced_
in interface Sink
public void lineBreak()
lineBreak
in interface Sink
public void nonBreakingSpace()
nonBreakingSpace
in interface Sink
public void text(java.lang.String text)
text
in interface Sink
text
- The text to write.public void rawText(java.lang.String text)
rawText
in interface Sink
text
- The text to write.public void flush()
flush
in interface Sink
public void close()
close
in interface Sink
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |