org.apache.maven.doxia.book.services.renderer.latex
Class LatexBookSink

java.lang.Object
  extended by org.apache.maven.doxia.sink.SinkAdapter
      extended by org.apache.maven.doxia.sink.AbstractTextSink
          extended by org.apache.maven.doxia.module.latex.LatexSink
              extended by org.apache.maven.doxia.book.services.renderer.latex.LatexBookSink
All Implemented Interfaces:
org.apache.maven.doxia.markup.Markup, org.apache.maven.doxia.markup.TextMarkup, org.apache.maven.doxia.sink.Sink

public class LatexBookSink
extends org.apache.maven.doxia.module.latex.LatexSink

Version:
$Id: LatexBookSink.java 572956 2007-09-05 14:22:50Z ltheussl $
Author:
Trygve Laugstøl

Field Summary
 
Fields inherited from interface org.apache.maven.doxia.markup.TextMarkup
PIPE
 
Fields inherited from interface org.apache.maven.doxia.markup.Markup
EOL, EQUAL, GREATER_THAN, LEFT_CURLY_BRACKET, LEFT_SQUARE_BRACKET, LESS_THAN, MINUS, PLUS, QUOTE, RIGHT_CURLY_BRACKET, RIGHT_SQUARE_BRACKET, SLASH, SPACE, STAR
 
Fields inherited from interface org.apache.maven.doxia.sink.Sink
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
 
Constructor Summary
LatexBookSink(java.io.Writer out)
          Construct a new LatexBookSink which is a LatexSink with the given writer, null sinkCommands, null preamble and fragmentDocument = true.
 
Method Summary
protected  java.lang.String getDocumentBegin()
          
protected  java.lang.String getDocumentStart()
          
 java.lang.String getTitle()
          Return the title.
 void text(java.lang.String newText)
          
 void title_()
          
 
Methods inherited from class org.apache.maven.doxia.module.latex.LatexSink
anchor_, anchor, author_, author, body_, body, bold_, bold, close, content, date_, date, defaultPreamble, defaultSinkCommands, definedTerm_, definedTerm, definitionList_, definitionList, escaped, figure_, figure, figureCaption_, figureCaption, figureGraphics, flush, getDefaultPreamble, getDefaultSinkCommands, getDocumentEnd, head, horizontalRule, italic_, italic, lineBreak, link_, link, list_, list, listItem, markup, monospaced_, monospaced, nonBreakingSpace, numberedList_, numberedList, numberedListItem, pageBreak, paragraph_, sectionTitle_, sectionTitle1_, sectionTitle1, sectionTitle2_, sectionTitle2, sectionTitle3_, sectionTitle3, sectionTitle4_, sectionTitle4, sectionTitle5_, sectionTitle5, table_, table, tableCaption_, tableCaption, tableCell_, tableCell_, tableCell, tableCell, tableHeaderCell_, tableHeaderCell, tableRow_, tableRow, tableRows_, tableRows, title, verbatim_, verbatim, verbatimContent
 
Methods inherited from class org.apache.maven.doxia.sink.SinkAdapter
definition_, definition, definitionListItem_, definitionListItem, head_, listItem_, numberedListItem_, paragraph, rawText, section1_, section1, section2_, section2, section3_, section3, section4_, section4, section5_, section5, sectionTitle, tableCell, tableHeaderCell
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LatexBookSink

public LatexBookSink(java.io.Writer out)
Construct a new LatexBookSink which is a LatexSink with the given writer, null sinkCommands, null preamble and fragmentDocument = true.

Parameters:
out - the writer for the sink.
Method Detail

getDocumentStart

protected java.lang.String getDocumentStart()

Overrides:
getDocumentStart in class org.apache.maven.doxia.module.latex.LatexSink

getDocumentBegin

protected java.lang.String getDocumentBegin()

Overrides:
getDocumentBegin in class org.apache.maven.doxia.module.latex.LatexSink

text

public void text(java.lang.String newText)

Specified by:
text in interface org.apache.maven.doxia.sink.Sink
Overrides:
text in class org.apache.maven.doxia.module.latex.LatexSink

title_

public void title_()

Specified by:
title_ in interface org.apache.maven.doxia.sink.Sink
Overrides:
title_ in class org.apache.maven.doxia.module.latex.LatexSink

getTitle

public java.lang.String getTitle()
Return the title.

Returns:
String.


Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.