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

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

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 rendering.

Version:
$Id: SiteRendererSink.java 1185529 2011-10-18 08:27:44Z ltheussl $
Author:
Emmanuel Venisse

Field Summary
 
Fields inherited from class org.apache.maven.doxia.sink.XhtmlBaseSink
tableAttributes, tableRows
 
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 anchor(String name, org.apache.maven.doxia.sink.SinkEventAttributes attributes)
          
 void author_()
          
 void body_()
           Do nothing.
 void body()
           Do nothing.
 void date_()
          
 List<String> 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, 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, init, 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, writeEndTag, writeStartTag
 
Methods inherited from class org.apache.maven.doxia.sink.AbstractXmlSink
getNameSpace, setNameSpace, writeEOL, writeSimpleTag, writeSimpleTag, 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
 

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
Overrides:
title_ in class org.apache.maven.doxia.module.xhtml.XhtmlSink

title

public void title()
Do nothing.

Specified by:
title in interface org.apache.maven.doxia.sink.Sink
Overrides:
title in class org.apache.maven.doxia.module.xhtml.XhtmlSink
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
Overrides:
author_ in class org.apache.maven.doxia.module.xhtml.XhtmlSink

getAuthors

public List<String> 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
Overrides:
date_ in class org.apache.maven.doxia.module.xhtml.XhtmlSink

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
Overrides:
body_ in class org.apache.maven.doxia.module.xhtml.XhtmlSink
See Also:
XhtmlSink.body_()

body

public void body()
Do nothing.

Specified by:
body in interface org.apache.maven.doxia.sink.Sink
Overrides:
body in class org.apache.maven.doxia.module.xhtml.XhtmlSink
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
Overrides:
head_ in class org.apache.maven.doxia.module.xhtml.XhtmlSink

head

public void head()

Specified by:
head in interface org.apache.maven.doxia.sink.Sink
Overrides:
head in class org.apache.maven.doxia.module.xhtml.XhtmlSink

anchor

public void anchor(String name,
                   org.apache.maven.doxia.sink.SinkEventAttributes attributes)

Specified by:
anchor in interface org.apache.maven.doxia.sink.Sink
Overrides:
anchor in class org.apache.maven.doxia.sink.XhtmlBaseSink

onSectionTitle

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

Overrides:
onSectionTitle in class org.apache.maven.doxia.sink.XhtmlBaseSink

onSectionTitle_

protected void onSectionTitle_(int depth)

Overrides:
onSectionTitle_ in class org.apache.maven.doxia.sink.XhtmlBaseSink

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
Overrides:
text in class org.apache.maven.doxia.sink.XhtmlBaseSink

write

protected void write(String text)

Overrides:
write in class org.apache.maven.doxia.sink.XhtmlBaseSink


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