|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.doxia.sink.SinkAdapter
org.apache.maven.doxia.module.xdoc.XmlWriterXdocSink
A doxia Sink which produces an xdoc document.
| 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 | |
XmlWriterXdocSink(XMLWriter out)
Constructor, initialize the XMLWriter. |
|
| Method Summary | |
void |
anchor_()
|
void |
anchor(String name)
|
void |
author_()
|
void |
body_()
|
void |
body()
|
void |
bold_()
|
void |
bold()
|
void |
close()
|
protected void |
content(String text)
Write HTML escaped text to output. |
void |
date_()
|
void |
definedTerm_()
|
void |
definedTerm()
|
void |
definition_()
|
void |
definition()
|
void |
definitionList_()
|
void |
definitionList()
|
static String |
encodeURL(String text)
Forward to HtmlTools.encodeURL( text ). |
static String |
escapeHTML(String text)
Forward to HtmlTools.escapeHTML( text ). |
void |
flush()
|
void |
head_()
|
void |
head()
|
void |
horizontalRule()
|
void |
italic_()
|
void |
italic()
|
void |
lineBreak()
|
void |
link_()
|
void |
link(String name)
|
void |
list_()
|
void |
list()
|
void |
listItem_()
|
void |
listItem()
|
void |
monospaced_()
|
void |
monospaced()
|
void |
nonBreakingSpace()
|
void |
numberedList_()
|
void |
numberedList(int numbering)
|
void |
numberedListItem_()
|
void |
numberedListItem()
|
void |
paragraph_()
|
void |
paragraph()
|
protected void |
resetState()
Reset all variables. |
void |
section1_()
|
void |
section1()
|
void |
section2_()
|
void |
section2()
|
void |
section3_()
|
void |
section3()
|
void |
section4_()
|
void |
section4()
|
void |
section5_()
|
void |
section5()
|
void |
sectionTitle_()
|
void |
sectionTitle()
|
void |
table_()
|
void |
table()
|
void |
tableCaption_()
|
void |
tableCaption()
|
void |
tableCell_()
|
void |
tableCell_(boolean headerRow)
Ends a table cell. |
void |
tableCell()
|
void |
tableCell(boolean headerRow)
Starts a table cell. |
void |
tableHeaderCell_()
|
void |
tableHeaderCell()
|
void |
tableRow_()
|
void |
tableRow()
|
void |
tableRows_()
|
void |
tableRows(int[] justification,
boolean grid)
|
void |
text(String text)
|
void |
title_()
|
void |
verbatim_()
|
void |
verbatim(boolean boxed)
|
protected void |
verbatimContent(String text)
Write text to output, preserving white space. |
| Methods inherited from class org.apache.maven.doxia.sink.SinkAdapter |
author, date, definitionListItem_, definitionListItem, figure_, figure, figureCaption_, figureCaption, figureGraphics, pageBreak, rawText, sectionTitle1_, sectionTitle1, sectionTitle2_, sectionTitle2, sectionTitle3_, sectionTitle3, sectionTitle4_, sectionTitle4, sectionTitle5_, sectionTitle5, tableCell, tableHeaderCell, title |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XmlWriterXdocSink(XMLWriter out)
out - The XMLWriter to write the result.| Method Detail |
protected void resetState()
public void head()
public void head_()
public void title_()
public void author_()
public void date_()
public void body()
public void body_()
public void section1()
public void section2()
public void section3()
public void section4()
public void section5()
public void sectionTitle()
public void sectionTitle_()
public void section1_()
public void section2_()
public void section3_()
public void section4_()
public void section5_()
public void list()
public void list_()
public void listItem()
public void listItem_()
public void numberedList(int numbering)
public void numberedList_()
public void numberedListItem()
public void numberedListItem_()
public void definitionList()
public void definitionList_()
public void definedTerm()
public void definedTerm_()
public void definition()
public void definition_()
public void paragraph()
public void paragraph_()
public void verbatim(boolean boxed)
public void verbatim_()
public void horizontalRule()
public void table()
public void table_()
public void tableRows(int[] justification,
boolean grid)
public void tableRows_()
public void tableRow()
public void tableRow_()
public void tableCell()
public void tableHeaderCell()
public void tableCell(boolean headerRow)
headerRow - If this cell is part of a header row.public void tableCell_()
public void tableHeaderCell_()
public void tableCell_(boolean headerRow)
headerRow - If this cell is part of a header row.public void tableCaption()
public void tableCaption_()
public void anchor(String name)
public void anchor_()
public void link(String name)
public void link_()
public void italic()
public void italic_()
public void bold()
public void bold_()
public void monospaced()
public void monospaced_()
public void lineBreak()
public void nonBreakingSpace()
public void text(String text)
protected void content(String text)
text - The text to write.protected void verbatimContent(String text)
text - The text to write.public static String escapeHTML(String text)
text - the String to escape, may be null
HtmlTools.escapeHTML(String).public static String encodeURL(String text)
text - the String to encode, may be null.
HtmlTools.encodeURL(String).public void flush()
public void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||