org.apache.maven.doxia.module.xdoc
public class XdocSink extends AbstractXmlSink implements XdocMarkup
Since: 1.0
Version: $Id: XdocSink.java 568134 2007-08-21 14:08:46Z ltheussl $
UNKNOWN: role="org.apache.maven.doxia.sink.Sink" role-hint="xdoc"
| Field Summary | |
|---|---|
| protected StringBuffer | buffer Used to collect text events. |
| protected boolean | headFlag An indication on if we're inside a head. |
| protected LineBreaker | out The LineBreaker to write the result. |
| protected boolean | titleFlag
An indication on if we're inside a title.
|
| Constructor Summary | |
|---|---|
| XdocSink(Writer writer)
Constructor, initialize the LineBreaker.
| |
| Method Summary | |
|---|---|
| void | anchor(String name) |
| void | anchor_() |
| void | author_() |
| void | body() |
| void | body_() |
| void | bold() |
| void | bold_() |
| void | close() |
| protected void | content(String text)
Write HTML escaped text to output, not preserving white space.
|
| void | date_() |
| void | definedTerm() |
| void | definedTerm_() |
| void | definition() |
| void | definitionList() |
| void | definitionList_() |
| void | definition_() |
| static String | encodeURL(String text)
Forward to HtmlTools.encodeURL( text ).
|
| static String | escapeHTML(String text)
Forward to HtmlTools.escapeHTML( text ).
|
| void | figure() |
| void | figureCaption() |
| void | figureCaption_() |
| void | figureGraphics(String s) |
| void | figure_() |
| void | flush() |
| void | head() |
| void | head_() |
| void | horizontalRule() |
| void | italic() |
| void | italic_() |
| void | lineBreak() |
| void | link(String name) |
| void | link_() |
| void | list() |
| void | listItem() |
| void | listItem_() |
| void | list_() |
| protected void | markup(String text)
Write text to output, preserving white space.
|
| void | monospaced() |
| void | monospaced_() |
| void | nonBreakingSpace() |
| void | numberedList(int numbering)
The default list style depends on the numbering.
|
| void | numberedListItem() |
| void | numberedListItem_() |
| void | numberedList_() |
| 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 | sectionTitle1() |
| void | sectionTitle1_() |
| void | sectionTitle2() |
| void | sectionTitle2_() |
| void | sectionTitle3() |
| void | sectionTitle3_() |
| void | sectionTitle4() |
| void | sectionTitle4_() |
| void | sectionTitle5() |
| void | sectionTitle5_() |
| void | table()
The default align is center.
|
| void | tableCaption() |
| void | tableCaption_() |
| void | tableCell() |
| void | tableCell(boolean headerRow)
Starts a table cell.
|
| void | tableCell_() |
| void | tableCell_(boolean headerRow)
Ends a table cell.
|
| void | tableHeaderCell() |
| void | tableHeaderCell_() |
| void | tableRow()
The default valign is top.
|
| void | tableRows(int[] justification, boolean grid)
The default align is center.
|
| void | tableRows_() |
| void | tableRow_() |
| void | table_() |
| void | text(String text) |
| void | title_() |
| void | verbatim(boolean boxed) |
| protected void | verbatimContent(String text)
Write HTML escaped text to output, preserving white space.
|
| void | verbatim_() |
| protected void | write(String text) |
Parameters: writer The writer to write the result.
See Also: javax.swing.text.html.HTML.Tag#A
See Also: javax.swing.text.html.HTML.Tag#A
See Also: AUTHOR_TAG
See Also: javax.swing.text.html.HTML.Tag#BODY
See Also: javax.swing.text.html.HTML.Tag#BODY DOCUMENT_TAG
See Also: javax.swing.text.html.HTML.Tag#B
See Also: javax.swing.text.html.HTML.Tag#B
Parameters: text The text to write.
See Also: DATE_TAG
See Also: javax.swing.text.html.HTML.Tag#DT
See Also: javax.swing.text.html.HTML.Tag#DT
See Also: javax.swing.text.html.HTML.Tag#DD
See Also: javax.swing.text.html.HTML.Tag#DL
See Also: javax.swing.text.html.HTML.Tag#DL
See Also: javax.swing.text.html.HTML.Tag#DD
Parameters: text the String to encode, may be null.
Returns: the text encoded, null if null String input.
See Also: encodeURL
Parameters: text the String to escape, may be null
Returns: the text escaped, "" if null String input
See Also: escapeHTML
See Also: javax.swing.text.html.HTML.Tag#IMG
See Also: DOCUMENT_TAG PROPERTIES_TAG
See Also: DOCUMENT_TAG PROPERTIES_TAG
See Also: javax.swing.text.html.HTML.Tag#HR
See Also: javax.swing.text.html.HTML.Tag#I
See Also: javax.swing.text.html.HTML.Tag#I
See Also: javax.swing.text.html.HTML.Tag#BR
See Also: javax.swing.text.html.HTML.Tag#A
See Also: javax.swing.text.html.HTML.Tag#A
See Also: javax.swing.text.html.HTML.Tag#UL
See Also: javax.swing.text.html.HTML.Tag#LI
See Also: javax.swing.text.html.HTML.Tag#LI
See Also: javax.swing.text.html.HTML.Tag#UL
Parameters: text The text to write.
See Also: javax.swing.text.html.HTML.Tag#TT
See Also: javax.swing.text.html.HTML.Tag#TT
See Also: javax.swing.text.html.HTML.Tag#OL
See Also: javax.swing.text.html.HTML.Tag#LI
See Also: javax.swing.text.html.HTML.Tag#LI
See Also: javax.swing.text.html.HTML.Tag#OL
See Also: javax.swing.text.html.HTML.Tag#P
See Also: javax.swing.text.html.HTML.Tag#P
center.
{@inheritDoc }See Also: javax.swing.text.html.HTML.Tag#TABLE
See Also: javax.swing.text.html.HTML.Tag#P javax.swing.text.html.HTML.Tag#I
See Also: javax.swing.text.html.HTML.Tag#P javax.swing.text.html.HTML.Tag#I
Parameters: headerRow true if it is an header row
See Also: javax.swing.text.html.HTML.Tag#TH javax.swing.text.html.HTML.Tag#TD
Parameters: headerRow true if it is an header row
See Also: javax.swing.text.html.HTML.Tag#TH javax.swing.text.html.HTML.Tag#TD
top.
{@inheritDoc }See Also: javax.swing.text.html.HTML.Tag#TR
center.
{@inheritDoc }See Also: javax.swing.text.html.HTML.Tag#TABLE
See Also: javax.swing.text.html.HTML.Tag#TABLE
See Also: javax.swing.text.html.HTML.Tag#TR
See Also: javax.swing.text.html.HTML.Tag#TABLE
See Also: javax.swing.text.html.HTML.Tag#TITLE
See Also: SOURCE_TAG javax.swing.text.html.HTML.Tag#PRE
Parameters: text The text to write.
See Also: SOURCE_TAG javax.swing.text.html.HTML.Tag#PRE