org.apache.maven.doxia.siterenderer.sink
Class SiteRendererSink

java.lang.Object
  extended byorg.apache.maven.doxia.sink.AbstractSink
      extended byorg.apache.maven.doxia.sink.SinkAdapter
          extended byorg.apache.maven.doxia.sink.AbstractXmlSink
              extended byorg.apache.maven.doxia.sink.XhtmlBaseSink
                  extended byorg.apache.maven.doxia.module.xhtml.XhtmlSink
                      extended byorg.apache.maven.doxia.siterenderer.sink.SiteRendererSink
All Implemented Interfaces:
org.apache.maven.doxia.markup.HtmlMarkup, org.apache.maven.doxia.logging.LogEnabled, org.apache.maven.doxia.markup.Markup, org.apache.maven.doxia.sink.Sink, org.codehaus.doxia.sink.Sink, org.apache.maven.doxia.module.xhtml.XhtmlMarkup, org.apache.maven.doxia.markup.XmlMarkup

public class SiteRendererSink
extends org.apache.maven.doxia.module.xhtml.XhtmlSink
implements org.apache.maven.doxia.sink.Sink, org.codehaus.doxia.sink.Sink

Sink for site renderering.

Version:
$Id: SiteRendererSink.java 785531 2009-06-17 09:47:59Z ltheussl $
Author:
Emmanuel Venisse

Field Summary
 
Fields inherited from interface org.apache.maven.doxia.sink.Sink
JUSTIFY_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
 
Fields inherited from interface org.apache.maven.doxia.module.xhtml.XhtmlMarkup
XHTML_NAMESPACE, XHTML_TRANSITIONAL_PUBLIC_ID, XHTML_TRANSITIONAL_SYSTEM_ID
 
Fields inherited from interface org.apache.maven.doxia.markup.HtmlMarkup
A, ABBR, ACRONYM, ADDRESS, APPLET, AREA, B, BASE, BASEFONT, BDO, BIG, BLOCKQUOTE, BODY, BR, BUTTON, CAPTION, CDATA_TYPE, CENTER, CITE, CODE, COL, COLGROUP, DD, DEL, DFN, DIR, DIV, DL, DT, EM, ENTITY_TYPE, FIELDSET, FONT, FORM, FRAME, FRAMESET, H1, H2, H3, H4, H5, H6, HEAD, HR, HTML, I, IFRAME, IMG, INPUT, INS, ISINDEX, KBD, LABEL, LEGEND, LI, LINK, MAP, MENU, META, NOFRAMES, NOSCRIPT, OBJECT, OL, OPTGROUP, OPTION, P, PARAM, PRE, Q, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, STYLE, SUB, SUP, TABLE, TAG_TYPE_END, TAG_TYPE_SIMPLE, TAG_TYPE_START, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, VAR
 
Fields inherited from interface org.apache.maven.doxia.markup.XmlMarkup
BANG, CDATA, DOCTYPE_START, ENTITY_START, XML_NAMESPACE
 
Fields inherited from interface org.apache.maven.doxia.markup.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, STAR
 
Constructor Summary
SiteRendererSink(org.apache.maven.doxia.sink.render.RenderingContext renderingContext)
          Construct a new SiteRendererSink.
 
Method Summary
 void author_()
          
 void body_()
           Do nothing.
 void body()
           Do nothing.
 void date_()
          
 List getAuthors()
          Getter for the field authors.
 String getBody()
          getBody.
 String getDate()
          Getter for the field date.
 String getHead()
          getHead.
 org.apache.maven.doxia.sink.render.RenderingContext getRenderingContext()
          Getter for the field renderingContext.
 String getTitle()
          Getter for the field title.
 void head_()
          
 void head()
          
protected  void onSectionTitle_(int depth)
          
protected  void onSectionTitle(int depth, org.apache.maven.doxia.sink.SinkEventAttributes attributes)
          
 void text(String text)
          
 void title_()
          
 void title()
           Do nothing.
protected  void write(String text)
          
 
Methods inherited from class org.apache.maven.doxia.module.xhtml.XhtmlSink
isHeadTitleFlag, setHeadTitleFlag
 
Methods inherited from class org.apache.maven.doxia.sink.XhtmlBaseSink
anchor_, anchor, anchor, bold_, bold, close, comment, content, definedTerm_, definedTerm, definedTerm, definition_, definition, definition, definitionList_, definitionList, definitionList, encodeURL, escapeHTML, figure_, figure, figure, figureCaption_, figureCaption, figureCaption, figureGraphics, figureGraphics, flush, getCellCount, getCellJustif, getTextBuffer, horizontalRule, horizontalRule, isHeadFlag, isVerbatimFlag, italic_, italic, lineBreak, lineBreak, link_, link, link, list_, list, list, listItem_, listItem, listItem, monospaced_, monospaced, nonBreakingSpace, numberedList_, numberedList, numberedList, numberedListItem_, numberedListItem, numberedListItem, onSection_, onSection, pageBreak, paragraph_, paragraph, paragraph, rawText, resetState, resetTextBuffer, section_, section, section1_, section1, section2_, section2, section3_, section3, section4_, section4, section5_, section5, sectionTitle_, sectionTitle, sectionTitle1_, sectionTitle1, sectionTitle2_, sectionTitle2, sectionTitle3_, sectionTitle3, sectionTitle4_, sectionTitle4, sectionTitle5_, sectionTitle5, setCellCount, setCellJustif, setHeadFlag, setVerbatimFlag, table_, table, table, tableCaption_, tableCaption, tableCaption, tableCell_, tableCell, tableCell, tableCell, tableHeaderCell_, tableHeaderCell, tableHeaderCell, tableHeaderCell, tableRow_, tableRow, tableRow, tableRows_, tableRows, text, unknown, verbatim_, verbatim, verbatim, verbatimContent
 
Methods inherited from class org.apache.maven.doxia.sink.AbstractXmlSink
getNameSpace, setNameSpace, writeEndTag, writeEOL, writeSimpleTag, writeSimpleTag, writeStartTag, writeStartTag, writeStartTag
 
Methods inherited from class org.apache.maven.doxia.sink.SinkAdapter
author, author, body, date, date, definitionListItem_, definitionListItem, definitionListItem, head, sectionTitle_, sectionTitle, title
 
Methods inherited from class org.apache.maven.doxia.sink.AbstractSink
enableLogging, getLog, unifyEOLs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.doxia.sink.Sink
anchor_, anchor, anchor, author, author, body, bold_, bold, close, comment, date, date, definedTerm_, definedTerm, definedTerm, definition_, definition, definition, definitionList_, definitionList, definitionList, definitionListItem_, definitionListItem, definitionListItem, figure_, figure, figure, figureCaption_, figureCaption, figureCaption, figureGraphics, figureGraphics, flush, 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, sectionTitle_, sectionTitle_, sectionTitle, sectionTitle, sectionTitle1_, sectionTitle1, sectionTitle2_, sectionTitle2, sectionTitle3_, sectionTitle3, sectionTitle4_, sectionTitle4, sectionTitle5_, sectionTitle5, table_, table, table, tableCaption_, tableCaption, tableCaption, tableCell_, tableCell, tableCell, tableCell, tableHeaderCell_, tableHeaderCell, tableHeaderCell, tableHeaderCell, tableRow_, tableRow, tableRow, tableRows_, tableRows, text, title, unknown, verbatim_, verbatim, verbatim
 
Methods inherited from interface org.apache.maven.doxia.logging.LogEnabled
enableLogging
 

Constructor Detail

SiteRendererSink

public SiteRendererSink(org.apache.maven.doxia.sink.render.RenderingContext renderingContext)
Construct a new SiteRendererSink.

Parameters:
renderingContext - the RenderingContext.
Method Detail

title_

public void title_()

Specified by:
title_ in interface org.apache.maven.doxia.sink.Sink

title

public void title()
Do nothing.

Specified by:
title in interface org.apache.maven.doxia.sink.Sink
See Also:
XhtmlSink.title()

getTitle

public String getTitle()

Getter for the field title.

Returns:
a String object.

author_

public void author_()

Specified by:
author_ in interface org.apache.maven.doxia.sink.Sink

getAuthors

public List getAuthors()

Getter for the field authors.

Returns:
a List object.

date_

public void date_()

Specified by:
date_ in interface org.apache.maven.doxia.sink.Sink

getDate

public String getDate()

Getter for the field date.

Returns:
a String object.

body_

public void body_()
Do nothing.

Specified by:
body_ in interface org.apache.maven.doxia.sink.Sink
See Also:
XhtmlSink.body_()

body

public void body()
Do nothing.

Specified by:
body in interface org.apache.maven.doxia.sink.Sink
See Also:
XhtmlSink.body()

getBody

public String getBody()

getBody.

Returns:
a String object.

getHead

public String getHead()

getHead.

Returns:
a String object.
Since:
1.1.1

head_

public void head_()

Specified by:
head_ in interface org.apache.maven.doxia.sink.Sink

head

public void head()

Specified by:
head in interface org.apache.maven.doxia.sink.Sink

onSectionTitle

protected void onSectionTitle(int depth,
                              org.apache.maven.doxia.sink.SinkEventAttributes attributes)


onSectionTitle_

protected void onSectionTitle_(int depth)


getRenderingContext

public org.apache.maven.doxia.sink.render.RenderingContext getRenderingContext()

Getter for the field renderingContext.

Returns:
the current rendering context
Since:
1.1

text

public void text(String text)

Specified by:
text in interface org.apache.maven.doxia.sink.Sink

write

protected void write(String text)



Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.