org.apache.maven.doxia.module.itext
Class ITextSink

java.lang.Object
  extended byorg.apache.maven.doxia.sink.SinkAdapter
      extended byorg.apache.maven.doxia.module.itext.ITextSink
All Implemented Interfaces:
org.apache.maven.doxia.sink.Sink

public final class ITextSink
extends org.apache.maven.doxia.sink.SinkAdapter

A doxia Sink which produces an XML Front End document for iText framework.

Known limitations:

Version:
$Id: ITextSink.java 571450 2007-08-31 12:55:39Z vsiveton $
Author:
Vincent Siveton
See Also:
http://www.lowagie.com/iText/tutorial/ch07.html

Field Summary
static String DEFAULT_CHAPTER_TITLE_LEADING
          This is the default leading for chapter title
static String DEFAULT_SECTION_TITLE_LEADING
          This is the default leading for section title
static String DOCTYPE
          This is the reference to the DTD.
static String DTD
          This is the place where the iText DTD is located.
 
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
ITextSink(PrettyPrintXMLWriter xmlWriter)
           
ITextSink(Writer writer)
           
 
Method Summary
 void anchor_()
          
 void anchor(String name)
          
 void author_()
          
 void author()
          
 void body_()
          
 void body()
          
 void bold_()
          
 void bold()
          
 void close()
          
 void date_()
          
 void date()
          
 void definedTerm_()
          
 void definedTerm()
          
 void definition_()
          
 void definition()
          
 void definitionList_()
          
 void definitionList()
          
 void definitionListItem_()
          
 void definitionListItem()
          
 void figure_()
          
 void figure()
          
 void figureCaption_()
          
 void figureCaption()
          
 void figureGraphics(String name)
          
 void flush()
          
 ClassLoader getClassLoader()
          Get the current classLoader
 void head_()
          
 void head()
          
 void horizontalRule()
          
 void italic_()
          
 void italic()
          
 void lineBreak()
          
 void link_()
          
 void link(String name)
          
 void list_()
          
 void list()
          
 void listItem_()
          
 void listItem()
          
 void monospaced_()
          
 void monospaced()
          
 void nonBreakingSpace()
          
 void numberedList_()
          
 void numberedList(int numbering)
          
 void numberedListItem_()
          
 void numberedListItem()
          
 void pageBreak()
          
 void paragraph_()
          
 void paragraph()
          
 void rawText(String text)
          
 void section1_()
          
 void section1()
          
 void section2_()
          
 void section2()
          
 void section3_()
          
 void section3()
          
 void section4_()
          
 void section4()
          
 void section5_()
          
 void section5()
          
 void sectionTitle_()
          
 void sectionTitle()
          
 void sectionTitle1_()
          
 void sectionTitle1()
          
 void sectionTitle2_()
          
 void sectionTitle2()
          
 void sectionTitle3_()
          
 void sectionTitle3()
          
 void sectionTitle4_()
          
 void sectionTitle4()
          
 void sectionTitle5_()
          
 void sectionTitle5()
          
 void setClassLoader(ClassLoader cl)
          Set a new class loader
 void table_()
          
 void table()
          
 void tableCaption_()
          
 void tableCaption()
          
 void tableCell_()
          
 void tableCell()
          
 void tableCell(String width)
          
 void tableHeaderCell_()
          
 void tableHeaderCell()
          
 void tableHeaderCell(String width)
          
 void tableRow_()
          
 void tableRow()
          
 void tableRows_()
          
 void tableRows(int[] justification, boolean grid)
          
 void text(String text)
          
 void title_()
          
 void title()
          
 void verbatim_()
          
 void verbatim(boolean boxed)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DTD

public static final String DTD
This is the place where the iText DTD is located. IMPORTANT: this DTD is not uptodate!

See Also:
Constant Field Values

DOCTYPE

public static final String DOCTYPE
This is the reference to the DTD.

See Also:
Constant Field Values

DEFAULT_CHAPTER_TITLE_LEADING

public static final String DEFAULT_CHAPTER_TITLE_LEADING
This is the default leading for chapter title

See Also:
Constant Field Values

DEFAULT_SECTION_TITLE_LEADING

public static final String DEFAULT_SECTION_TITLE_LEADING
This is the default leading for section title

See Also:
Constant Field Values
Constructor Detail

ITextSink

public ITextSink(Writer writer)
Parameters:
writer -

ITextSink

public ITextSink(PrettyPrintXMLWriter xmlWriter)
Parameters:
xmlWriter -
Method Detail

getClassLoader

public ClassLoader getClassLoader()
Get the current classLoader

Returns:
the current class loader

setClassLoader

public void setClassLoader(ClassLoader cl)
Set a new class loader

Parameters:
cl -

close

public void close()


flush

public void flush()


head_

public void head_()


head

public void head()


author_

public void author_()


author

public void author()


date_

public void date_()


date

public void date()


title_

public void title_()


title

public void title()


body_

public void body_()


body

public void body()


sectionTitle

public void sectionTitle()


sectionTitle_

public void sectionTitle_()


section1_

public void section1_()


section1

public void section1()


sectionTitle1_

public void sectionTitle1_()


sectionTitle1

public void sectionTitle1()


section2_

public void section2_()


section2

public void section2()


sectionTitle2_

public void sectionTitle2_()


sectionTitle2

public void sectionTitle2()


section3_

public void section3_()


section3

public void section3()


sectionTitle3_

public void sectionTitle3_()


sectionTitle3

public void sectionTitle3()


section4_

public void section4_()


section4

public void section4()


sectionTitle4_

public void sectionTitle4_()


sectionTitle4

public void sectionTitle4()


section5_

public void section5_()


section5

public void section5()


sectionTitle5_

public void sectionTitle5_()


sectionTitle5

public void sectionTitle5()


paragraph_

public void paragraph_()


paragraph

public void paragraph()


list_

public void list_()


list

public void list()


listItem_

public void listItem_()


listItem

public void listItem()


numberedList_

public void numberedList_()


numberedList

public void numberedList(int numbering)


numberedListItem_

public void numberedListItem_()


numberedListItem

public void numberedListItem()


definitionList_

public void definitionList_()


definitionList

public void definitionList()


definedTerm_

public void definedTerm_()


definedTerm

public void definedTerm()


definition_

public void definition_()


definition

public void definition()


definitionListItem_

public void definitionListItem_()


definitionListItem

public void definitionListItem()


table_

public void table_()


table

public void table()


tableCaption_

public void tableCaption_()


tableCaption

public void tableCaption()


tableCell_

public void tableCell_()


tableCell

public void tableCell()


tableCell

public void tableCell(String width)


tableHeaderCell_

public void tableHeaderCell_()


tableHeaderCell

public void tableHeaderCell()


tableHeaderCell

public void tableHeaderCell(String width)


tableRow_

public void tableRow_()


tableRow

public void tableRow()


tableRows_

public void tableRows_()


tableRows

public void tableRows(int[] justification,
                      boolean grid)


verbatim_

public void verbatim_()


verbatim

public void verbatim(boolean boxed)


figure_

public void figure_()


figure

public void figure()


figureCaption_

public void figureCaption_()


figureCaption

public void figureCaption()


figureGraphics

public void figureGraphics(String name)


bold_

public void bold_()


bold

public void bold()


italic_

public void italic_()


italic

public void italic()


monospaced_

public void monospaced_()


monospaced

public void monospaced()


link_

public void link_()


link

public void link(String name)


anchor_

public void anchor_()


anchor

public void anchor(String name)


lineBreak

public void lineBreak()


nonBreakingSpace

public void nonBreakingSpace()


pageBreak

public void pageBreak()


horizontalRule

public void horizontalRule()


rawText

public void rawText(String text)


text

public void text(String text)



Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.