org.apache.maven.doxia.module.xhtml
public class XhtmlSink extends AbstractXmlSink implements XhtmlMarkup
Since: 1.0
Version: $Id: XhtmlSink.java 586736 2007-10-20 14:50:01Z dennisl $
UNKNOWN: role="org.apache.maven.doxia.sink.Sink" role-hint="xhtml"
Constructor Summary | |
---|---|
XhtmlSink(Writer writer) | |
XhtmlSink(Writer writer, RenderingContext renderingContext) | |
XhtmlSink(Writer writer, RenderingContext renderingContext, Map directives) |
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) |
void | date_() |
void | definedTerm() |
void | definedTerm_() |
void | definition() |
void | definitionList() |
void | definitionList_() |
void | definition_() |
static String | encodeFragment(String text) |
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 name) |
void | figure_() |
void | flush() |
protected StringBuffer | getBuffer() |
RenderingContext | getRenderingContext() |
void | head() |
void | head_() |
void | horizontalRule() |
void | italic() |
void | italic_() |
void | lineBreak() |
void | link(String name) |
void | link(String name, String target)
The default style class for external link is externalLink .
|
void | link_() |
void | list() |
void | listItem() |
void | listItem_() |
void | list_() |
void | monospaced() |
void | monospaced_() |
void | nonBreakingSpace() |
void | numberedList(int numbering) |
void | numberedListItem() |
void | numberedListItem_() |
void | numberedList_() |
void | paragraph() |
void | paragraph_() |
void | rawText(String text) |
protected void | resetBuffer()
Reset the buffer. |
protected void | resetState()
Reset all the Sink state. |
void | section1()
The default class style is section .
|
void | section1_() |
void | section2()
The default class style is section .
|
void | section2_() |
void | section3()
The default class style is section .
|
void | section3_() |
void | section4()
The default class style is section .
|
void | section4_() |
void | section5()
The default class style is section .
|
void | section5_() |
void | sectionTitle1() |
void | sectionTitle1_() |
void | sectionTitle2() |
void | sectionTitle2_() |
void | sectionTitle3() |
void | sectionTitle3_() |
void | sectionTitle4() |
void | sectionTitle4_() |
void | sectionTitle5() |
void | sectionTitle5_() |
protected void | setHeadFlag(boolean headFlag) |
void | table()
The default class style is bodyTable .
|
void | tableCaption() |
void | tableCaption_() |
void | tableCell() |
void | tableCell(boolean headerRow) |
void | tableCell(String width) |
void | tableCell(boolean headerRow, String width) |
void | tableCell_() |
void | tableCell_(boolean headerRow) |
void | tableHeaderCell() |
void | tableHeaderCell(String width) |
void | tableHeaderCell_() |
void | tableRow()
The default class style is a or b depending the row id.
|
void | tableRows(int[] justification, boolean grid) |
void | tableRows_() |
void | tableRow_() |
void | table_() |
void | text(String text) |
void | title() |
void | title_() |
void | verbatim(boolean boxed)
The default class style is source .
|
protected void | verbatimContent(String text) |
void | verbatim_() |
protected void | write(String text) |
Parameters: writer
Parameters: writer renderingContext
Parameters: writer renderingContext directives
UNKNOWN: directives Map is not used
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#META
See Also: javax.swing.text.html.HTML.Tag#B
See Also: javax.swing.text.html.HTML.Tag#B
See Also: javax.swing.text.html.HTML.Tag#META
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
Returns: the current buffer
Returns: the current rendering context
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
externalLink
.
Parameters: name target
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
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
section
.
{@inheritDoc }See Also: javax.swing.text.html.HTML.Tag#DIV
See Also: javax.swing.text.html.HTML.Tag#DIV
section
.
{@inheritDoc }See Also: javax.swing.text.html.HTML.Tag#DIV
See Also: javax.swing.text.html.HTML.Tag#DIV
section
.
{@inheritDoc }See Also: javax.swing.text.html.HTML.Tag#DIV
See Also: javax.swing.text.html.HTML.Tag#DIV
section
.
{@inheritDoc }See Also: javax.swing.text.html.HTML.Tag#DIV
See Also: javax.swing.text.html.HTML.Tag#DIV
section
.
{@inheritDoc }See Also: javax.swing.text.html.HTML.Tag#DIV
See Also: javax.swing.text.html.HTML.Tag#DIV
See Also: javax.swing.text.html.HTML.Tag#H2
See Also: javax.swing.text.html.HTML.Tag#H2
See Also: javax.swing.text.html.HTML.Tag#H3
See Also: javax.swing.text.html.HTML.Tag#H3
See Also: javax.swing.text.html.HTML.Tag#H4
See Also: javax.swing.text.html.HTML.Tag#H4
See Also: javax.swing.text.html.HTML.Tag#H5
See Also: javax.swing.text.html.HTML.Tag#H5
See Also: javax.swing.text.html.HTML.Tag#H6
See Also: javax.swing.text.html.HTML.Tag#H6
Parameters: headFlag an header flag
bodyTable
.
{@inheritDoc }See Also: javax.swing.text.html.HTML.Tag#TABLE
See Also: javax.swing.text.html.HTML.Tag#CAPTION
See Also: javax.swing.text.html.HTML.Tag#CAPTION
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 width the cell size
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
a
or b
depending the row id.
{@inheritDoc }See Also: javax.swing.text.html.HTML.Tag#TR
See Also: TBODY_TAG
See Also: TBODY_TAG
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: javax.swing.text.html.HTML.Tag#TITLE
source
.
{@inheritDoc }See Also: javax.swing.text.html.HTML.Tag#DIV javax.swing.text.html.HTML.Tag#PRE
See Also: javax.swing.text.html.HTML.Tag#DIV javax.swing.text.html.HTML.Tag#PRE