org.apache.maven.doxia.module.apt
public class AptSink extends AbstractTextSink implements AptMarkup
Since: 1.0
Version: $Id: AptSink.java 572813 2007-09-04 20:46:47Z ltheussl $
UNKNOWN: role="org.apache.maven.doxia.sink.Sink" role-hint="apt"
Constructor Summary | |
---|---|
AptSink(Writer writer)
Constructor, initialize the variables.
|
Method Summary | |
---|---|
void | anchor(String name) |
void | anchor_() |
void | author_() |
void | bold() |
void | bold_() |
void | close() |
protected void | content(String text)
Write Apt escaped text to output.
|
void | date_() |
void | definedTerm() |
void | definedTerm_() |
void | definition() |
void | definitionList() |
void | definitionList_() |
void | definition_() |
static String | encodeFragment(String text)
Forward to HtmlTools.encodeFragment( text ).
|
static String | encodeURL(String text)
Forward to HtmlTools.encodeURL( text ).
|
void | figureCaption_() |
void | figureGraphics(String name) |
void | flush() |
protected StringBuffer | getBuffer()
Returns the buffer that holds the current text.
|
void | head() |
void | head_() |
void | horizontalRule() |
void | italic() |
void | italic_() |
void | lineBreak() |
void | link(String name) |
void | link(String name, String target)
A link with a target.
|
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 | pageBreak() |
void | paragraph() |
void | paragraph_() |
void | rawText(String text) |
protected void | resetBuffer()
Reset the StringBuffer. |
protected void | resetState()
Reset all variables. |
protected void | resetTableCaptionBuffer()
Reset the TableCaptionBuffer. |
void | section1_() |
void | section2_() |
void | section3_() |
void | section4_() |
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)
Used to determine whether we are in head mode.
|
void | table() |
void | tableCaption() |
void | tableCaption_() |
void | tableCell() |
void | tableCell(boolean headerRow)
Starts a table cell.
|
void | tableCell_() |
void | tableHeaderCell() |
void | tableHeaderCell_() |
void | tableRow() |
void | tableRows(int[] justification, boolean grid) |
void | tableRows_() |
void | tableRow_() |
void | table_() |
void | text(String text) |
void | title_() |
void | verbatim(boolean boxed) |
protected void | verbatimContent(String text)
Write Apt escaped text to output.
|
void | verbatim_() |
protected void | write(String text)
Write text to output.
|
Parameters: writer The writer to write the result.
Parameters: text The text to write.
Parameters: text the String to fragment, may be null.
Returns: the fragmented text, null if null String input.
See Also: .
Parameters: text the String to encode, may be null.
Returns: the text encoded, null if null String input.
See Also: .
Returns: A StringBuffer.
Parameters: name The name of the link. target The link target.
Parameters: headFlag True for head mode.
Parameters: headerRow If this cell is part of a header row.
Parameters: text The text to write.
Parameters: text The text to write.