org.apache.maven.doxia.logging.LogEnabled, Markup, org.apache.maven.doxia.sink.SinkSinkAdapterpublic abstract class AbstractSink extends java.lang.Object implements org.apache.maven.doxia.sink.Sink, Markup
COLON, EOL, EQUAL, GREATER_THAN, LEFT_CURLY_BRACKET, LEFT_SQUARE_BRACKET, LESS_THAN, MINUS, PLUS, QUOTE, RIGHT_CURLY_BRACKET, RIGHT_SQUARE_BRACKET, SEMICOLON, SLASH, SPACE, STARJUSTIFY_CENTER, JUSTIFY_LEFT, JUSTIFY_RIGHT, 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, SECTION_LEVEL_6| Constructor | Description |
|---|---|
AbstractSink() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
enableLogging(org.apache.maven.doxia.logging.Log log) |
|
protected org.apache.maven.doxia.logging.Log |
getLog() |
Returns a logger for this sink.
|
protected void |
init() |
This is called in
Sink.head() or in Sink.close(), and can be used
to set the sink into a clear state so it can be re-used. |
protected static java.lang.String |
unifyEOLs(java.lang.String text) |
Parses the given String and replaces all occurrences of
'\n', '\r' and '\r\n' with the system EOL.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitanchor, anchor, anchor_, author, author, author_, body, body, body_, bold, bold_, close, comment, date, date, date_, definedTerm, definedTerm, definedTerm_, definition, definition, definition_, definitionList, definitionList, definitionList_, definitionListItem, definitionListItem, definitionListItem_, figure, figure, figure_, figureCaption, figureCaption, figureCaption_, figureGraphics, figureGraphics, flush, head, head, head_, horizontalRule, horizontalRule, italic, italic_, lineBreak, lineBreak, link, link, link_, list, list, list_, listItem, listItem, listItem_, monospaced, monospaced_, nonBreakingSpace, numberedList, numberedList, numberedList_, numberedListItem, numberedListItem, numberedListItem_, pageBreak, paragraph, paragraph, paragraph_, rawText, section, section_, section1, section1_, section2, section2_, section3, section3_, section4, section4_, section5, section5_, section6, section6_, sectionTitle, sectionTitle, sectionTitle_, sectionTitle_, sectionTitle1, sectionTitle1_, sectionTitle2, sectionTitle2_, sectionTitle3, sectionTitle3_, sectionTitle4, sectionTitle4_, sectionTitle5, sectionTitle5_, sectionTitle6, sectionTitle6_, table, table, table_, tableCaption, tableCaption, tableCaption_, tableCell, tableCell, tableCell, tableCell_, tableHeaderCell, tableHeaderCell, tableHeaderCell, tableHeaderCell_, tableRow, tableRow, tableRow_, tableRows, tableRows_, text, text, title, title, title_, unknown, verbatim, verbatim, verbatim_public void enableLogging(org.apache.maven.doxia.logging.Log log)
enableLogging in interface org.apache.maven.doxia.logging.LogEnabledprotected org.apache.maven.doxia.logging.Log getLog()
protected static java.lang.String unifyEOLs(java.lang.String text)
text - the text to scan.
May be null in which case null is returned.protected void init()
Sink.head() or in Sink.close(), and can be used
to set the sink into a clear state so it can be re-used.