org.apache.maven.doxia.module.xdoc

Class XmlWriterXdocSink

public class XmlWriterXdocSink extends SinkAdapter

A doxia Sink which produces an xdoc document.

Version: $Id: XmlWriterXdocSink.java 562700 2007-08-04 11:54:11Z vsiveton $

Author: juan James Taylor Juan F. Codagnone (replaced println with XmlWriterXdocSink)

UNKNOWN:

Constructor Summary
XmlWriterXdocSink(XMLWriter out)
Constructor, initialize the XMLWriter.
Method Summary
voidanchor(String name)
voidanchor_()
voidauthor_()
voidbody()
voidbody_()
voidbold()
voidbold_()
voidclose()
protected voidcontent(String text)
Write HTML escaped text to output.
voiddate_()
voiddefinedTerm()
voiddefinedTerm_()
voiddefinition()
voiddefinitionList()
voiddefinitionList_()
voiddefinition_()
static StringencodeURL(String text)
Forward to HtmlTools.encodeURL( text ).
static StringescapeHTML(String text)
Forward to HtmlTools.escapeHTML( text ).
voidflush()
voidhead()
voidhead_()
voidhorizontalRule()
voiditalic()
voiditalic_()
voidlineBreak()
voidlink(String name)
voidlink_()
voidlist()
voidlistItem()
voidlistItem_()
voidlist_()
voidmonospaced()
voidmonospaced_()
voidnonBreakingSpace()
voidnumberedList(int numbering)
voidnumberedListItem()
voidnumberedListItem_()
voidnumberedList_()
voidparagraph()
voidparagraph_()
protected voidresetState()
Reset all variables.
voidsection1()
voidsection1_()
voidsection2()
voidsection2_()
voidsection3()
voidsection3_()
voidsection4()
voidsection4_()
voidsection5()
voidsection5_()
voidsectionTitle()
voidsectionTitle_()
voidtable()
voidtableCaption()
voidtableCaption_()
voidtableCell()
voidtableCell(boolean headerRow)
Starts a table cell.
voidtableCell_()
voidtableCell_(boolean headerRow)
Ends a table cell.
voidtableHeaderCell()
voidtableHeaderCell_()
voidtableRow()
voidtableRows(int[] justification, boolean grid)
voidtableRows_()
voidtableRow_()
voidtable_()
voidtext(String text)
voidtitle_()
voidverbatim(boolean boxed)
protected voidverbatimContent(String text)
Write text to output, preserving white space.
voidverbatim_()

Constructor Detail

XmlWriterXdocSink

public XmlWriterXdocSink(XMLWriter out)
Constructor, initialize the XMLWriter.

Parameters: out The XMLWriter to write the result.

Method Detail

anchor

public void anchor(String name)
{@inheritDoc }

anchor_

public void anchor_()
{@inheritDoc }

author_

public void author_()
{@inheritDoc }

body

public void body()
{@inheritDoc }

body_

public void body_()
{@inheritDoc }

bold

public void bold()
{@inheritDoc }

bold_

public void bold_()
{@inheritDoc }

close

public void close()
{@inheritDoc }

content

protected void content(String text)
Write HTML escaped text to output.

Parameters: text The text to write.

date_

public void date_()
{@inheritDoc }

definedTerm

public void definedTerm()
{@inheritDoc }

definedTerm_

public void definedTerm_()
{@inheritDoc }

definition

public void definition()
{@inheritDoc }

definitionList

public void definitionList()
{@inheritDoc }

definitionList_

public void definitionList_()
{@inheritDoc }

definition_

public void definition_()
{@inheritDoc }

encodeURL

public static String encodeURL(String text)
Forward to HtmlTools.encodeURL( text ).

Parameters: text the String to encode, may be null.

Returns: the text encoded, null if null String input.

See Also: .

escapeHTML

public static String escapeHTML(String text)
Forward to HtmlTools.escapeHTML( text ).

Parameters: text the String to escape, may be null

Returns: the text escaped, "" if null String input

See Also: .

flush

public void flush()
{@inheritDoc }

head

public void head()
{@inheritDoc }

head_

public void head_()
{@inheritDoc }

horizontalRule

public void horizontalRule()
{@inheritDoc }

italic

public void italic()
{@inheritDoc }

italic_

public void italic_()
{@inheritDoc }

lineBreak

public void lineBreak()
{@inheritDoc }

link

public void link(String name)
{@inheritDoc }

link_

public void link_()
{@inheritDoc }

list

public void list()
{@inheritDoc }

listItem

public void listItem()
{@inheritDoc }

listItem_

public void listItem_()
{@inheritDoc }

list_

public void list_()
{@inheritDoc }

monospaced

public void monospaced()
{@inheritDoc }

monospaced_

public void monospaced_()
{@inheritDoc }

nonBreakingSpace

public void nonBreakingSpace()
{@inheritDoc }

numberedList

public void numberedList(int numbering)
{@inheritDoc }

numberedListItem

public void numberedListItem()
{@inheritDoc }

numberedListItem_

public void numberedListItem_()
{@inheritDoc }

numberedList_

public void numberedList_()
{@inheritDoc }

paragraph

public void paragraph()
{@inheritDoc }

paragraph_

public void paragraph_()
{@inheritDoc }

resetState

protected void resetState()
Reset all variables.

section1

public void section1()
{@inheritDoc }

section1_

public void section1_()
{@inheritDoc }

section2

public void section2()
{@inheritDoc }

section2_

public void section2_()
{@inheritDoc }

section3

public void section3()
{@inheritDoc }

section3_

public void section3_()
{@inheritDoc }

section4

public void section4()
{@inheritDoc }

section4_

public void section4_()
{@inheritDoc }

section5

public void section5()
{@inheritDoc }

section5_

public void section5_()
{@inheritDoc }

sectionTitle

public void sectionTitle()
{@inheritDoc }

sectionTitle_

public void sectionTitle_()
{@inheritDoc }

table

public void table()
{@inheritDoc }

tableCaption

public void tableCaption()
{@inheritDoc }

tableCaption_

public void tableCaption_()
{@inheritDoc }

tableCell

public void tableCell()
{@inheritDoc }

tableCell

public void tableCell(boolean headerRow)
Starts a table cell.

Parameters: headerRow If this cell is part of a header row.

tableCell_

public void tableCell_()
{@inheritDoc }

tableCell_

public void tableCell_(boolean headerRow)
Ends a table cell.

Parameters: headerRow If this cell is part of a header row.

tableHeaderCell

public void tableHeaderCell()
{@inheritDoc }

tableHeaderCell_

public void tableHeaderCell_()
{@inheritDoc }

tableRow

public void tableRow()
{@inheritDoc }

tableRows

public void tableRows(int[] justification, boolean grid)
{@inheritDoc }

tableRows_

public void tableRows_()
{@inheritDoc }

tableRow_

public void tableRow_()
{@inheritDoc }

table_

public void table_()
{@inheritDoc }

text

public void text(String text)
{@inheritDoc }

title_

public void title_()
{@inheritDoc }

verbatim

public void verbatim(boolean boxed)
{@inheritDoc }

verbatimContent

protected void verbatimContent(String text)
Write text to output, preserving white space.

Parameters: text The text to write.

verbatim_

public void verbatim_()
{@inheritDoc }
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.