|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.doxia.sink.SinkAdapter
org.apache.maven.doxia.module.itext.ITextSink
public final class ITextSink
A doxia Sink which produces an XML Front End document for iText framework.
ElementTags.TABLE and ElementTags.TABLEFITSPAGE.
See http://sourceforge.net/tracker/index.php?func=detail&aid=786427&group_id=15255&atid=115255.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_CHAPTER_TITLE_LEADING
This is the default leading for chapter title |
static java.lang.String |
DEFAULT_SECTION_TITLE_LEADING
This is the default leading for section title |
static java.lang.String |
DOCTYPE
This is the reference to the DTD. |
static java.lang.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(org.codehaus.plexus.util.xml.PrettyPrintXMLWriter xmlWriter)
|
|
ITextSink(java.io.Writer writer)
|
|
| Method Summary | |
|---|---|
void |
anchor_()
Ending an anchor element. |
void |
anchor(java.lang.String name)
Starting an element which defines an anchor. |
void |
author_()
Ending the author element. |
void |
author()
Starting the author element which is used to identify the author of the document. |
void |
body_()
Ending the body element. |
void |
body()
Starting the body of a document which contains the document's content. |
void |
bold_()
Ending a bold element. |
void |
bold()
Starting a bold element. |
void |
close()
Close the writer or the stream, if needed. |
void |
date_()
Ending the date element. |
void |
date()
Starting the date element which is used to identify the date of the document. |
void |
definedTerm_()
Starting a definition term element within a definition list. |
void |
definedTerm()
Starting a definition term element within a definition list. |
void |
definition_()
Ending a definition element within a definition list. |
void |
definition()
Starting a definition element within a definition list. |
void |
definitionList_()
Ending a definition list element. |
void |
definitionList()
Starting a definition list element. |
void |
definitionListItem_()
Ending a list item element within a definition list. |
void |
definitionListItem()
Starting a list item element within a definition list. |
void |
figure_()
Ending a basic image embedding element. |
void |
figure()
Starting a basic image embedding element. |
void |
figureCaption_()
Ending a caption of an image. |
void |
figureCaption()
Starting a caption of an image element. |
void |
figureGraphics(java.lang.String name)
Adding a source of a graphic. |
void |
flush()
Flush the writer or the stream, if needed. |
java.lang.ClassLoader |
getClassLoader()
Get the current classLoader |
void |
head_()
Ending the head element. |
void |
head()
Starting the head element which contains information about the current document, such as its title, that is not considered document content. |
void |
horizontalRule()
Adding a separator of sections from a text to each other. |
void |
italic_()
Ending an italic element. |
void |
italic()
Starting an italic element. |
void |
lineBreak()
Adding a line breaks. |
void |
link_()
Ending a link element. |
void |
link(java.lang.String name)
Starting an element which defines a link. |
void |
list_()
Ending an unordered list element. |
void |
list()
Starting an unordered list element. |
void |
listItem_()
Ending a list item element within an unordered list. |
void |
listItem()
Starting a list item element within an unordered list. |
void |
monospaced_()
Ending a monospaced element. |
void |
monospaced()
Starting a monospaced element. |
void |
nonBreakingSpace()
Adding a non breaking space, ie a space without any special formatting operations. |
void |
numberedList_()
Ending an ordered list element. |
void |
numberedList(int numbering)
Starting an ordered list element. |
void |
numberedListItem_()
Ending a list item element within an ordered list. |
void |
numberedListItem()
Starting a list item element within an ordered list. |
void |
pageBreak()
Adding a new page separator. |
void |
paragraph_()
Ending a paragraph element. |
void |
paragraph()
Starting an element which represents a paragraph. |
void |
rawText(java.lang.String text)
Adding a raw text, ie a text without any special formatting operations. |
void |
section1_()
Ending a first heading element. |
void |
section1()
Starting a first heading element which contains the topic of the section. |
void |
section2_()
Ending a second heading element. |
void |
section2()
Starting a second heading element which contains the topic of the section. |
void |
section3_()
Ending a third heading element. |
void |
section3()
Starting a third heading element which contains the topic of the section. |
void |
section4_()
Ending a 4th heading element. |
void |
section4()
Starting a 4th heading element which contains the topic of the section. |
void |
section5_()
Ending a 5th heading element. |
void |
section5()
Starting a 5th heading element which contains the topic of the section. |
void |
sectionTitle_()
Ending a title heading element. |
void |
sectionTitle()
Starting a title heading element. |
void |
sectionTitle1_()
Ending a first title heading element. |
void |
sectionTitle1()
Starting a first title heading element. |
void |
sectionTitle2_()
Ending a second title heading element. |
void |
sectionTitle2()
Starting a second title heading element. |
void |
sectionTitle3_()
Ending a third title heading element. |
void |
sectionTitle3()
Starting a third title heading element. |
void |
sectionTitle4_()
Ending a 4th title heading element. |
void |
sectionTitle4()
Starting a 4th title heading element. |
void |
sectionTitle5_()
Ending a 5th title heading element. |
void |
sectionTitle5()
Starting a 5th title heading element. |
void |
setClassLoader(java.lang.ClassLoader cl)
Set a new class loader |
void |
table_()
Ending a table element. |
void |
table()
Starting a table element for marking up tabular information in a document. |
void |
tableCaption_()
Ending a caption element of a table. |
void |
tableCaption()
Starting a caption element of a table. |
void |
tableCell_()
Ending a cell element. |
void |
tableCell()
Starting a cell element which defines a cell that contains data. |
void |
tableCell(java.lang.String width)
Starting a cell element which defines a cell that contains data. |
void |
tableHeaderCell_()
Ending a cell header element. |
void |
tableHeaderCell()
Starting a cell element which defines a cell that contains header information. |
void |
tableHeaderCell(java.lang.String width)
Starting a cell element which defines a cell that contains header information. |
void |
tableRow_()
Ending a row element. |
void |
tableRow()
Starting a row element which acts as a container for a row of table cells. |
void |
tableRows_()
Ending an element contains rows of table data. |
void |
tableRows(int[] justification,
boolean grid)
Starting an element contains rows of table data. |
void |
text(java.lang.String text)
Adding a text. |
void |
title_()
Ending the title element. |
void |
title()
Starting the title element which is used to identify the document. |
void |
verbatim_()
Ending a verbatim element. |
void |
verbatim(boolean boxed)
Starting an element which indicates that whitespace in the enclosed text has semantic relevance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DTD
public static final java.lang.String DOCTYPE
public static final java.lang.String DEFAULT_CHAPTER_TITLE_LEADING
public static final java.lang.String DEFAULT_SECTION_TITLE_LEADING
| Constructor Detail |
|---|
public ITextSink(java.io.Writer writer)
writer - public ITextSink(org.codehaus.plexus.util.xml.PrettyPrintXMLWriter xmlWriter)
xmlWriter - | Method Detail |
|---|
public java.lang.ClassLoader getClassLoader()
public void setClassLoader(java.lang.ClassLoader cl)
cl - public void close()
close in interface Sinkclose in class SinkAdapterpublic void flush()
flush in interface Sinkflush in class SinkAdapterpublic void head_()
head_ in interface Sinkhead_ in class SinkAdapterpublic void head()
head in interface Sinkhead in class SinkAdapterpublic void author_()
author_ in interface Sinkauthor_ in class SinkAdapterpublic void author()
author in interface Sinkauthor in class SinkAdapterpublic void date_()
date_ in interface Sinkdate_ in class SinkAdapterpublic void date()
date in interface Sinkdate in class SinkAdapterpublic void title_()
title_ in interface Sinktitle_ in class SinkAdapterpublic void title()
title in interface Sinktitle in class SinkAdapterpublic void body_()
body_ in interface Sinkbody_ in class SinkAdapterpublic void body()
body in interface Sinkbody in class SinkAdapterpublic void sectionTitle()
sectionTitle in interface SinksectionTitle in class SinkAdapterpublic void sectionTitle_()
sectionTitle_ in interface SinksectionTitle_ in class SinkAdapterpublic void section1_()
section1_ in interface Sinksection1_ in class SinkAdapterpublic void section1()
section1 in interface Sinksection1 in class SinkAdapterpublic void sectionTitle1_()
sectionTitle1_ in interface SinksectionTitle1_ in class SinkAdapterpublic void sectionTitle1()
sectionTitle1 in interface SinksectionTitle1 in class SinkAdapterpublic void section2_()
section2_ in interface Sinksection2_ in class SinkAdapterpublic void section2()
section2 in interface Sinksection2 in class SinkAdapterpublic void sectionTitle2_()
sectionTitle2_ in interface SinksectionTitle2_ in class SinkAdapterpublic void sectionTitle2()
sectionTitle2 in interface SinksectionTitle2 in class SinkAdapterpublic void section3_()
section3_ in interface Sinksection3_ in class SinkAdapterpublic void section3()
section3 in interface Sinksection3 in class SinkAdapterpublic void sectionTitle3_()
sectionTitle3_ in interface SinksectionTitle3_ in class SinkAdapterpublic void sectionTitle3()
sectionTitle3 in interface SinksectionTitle3 in class SinkAdapterpublic void section4_()
section4_ in interface Sinksection4_ in class SinkAdapterpublic void section4()
section4 in interface Sinksection4 in class SinkAdapterpublic void sectionTitle4_()
sectionTitle4_ in interface SinksectionTitle4_ in class SinkAdapterpublic void sectionTitle4()
sectionTitle4 in interface SinksectionTitle4 in class SinkAdapterpublic void section5_()
section5_ in interface Sinksection5_ in class SinkAdapterpublic void section5()
section5 in interface Sinksection5 in class SinkAdapterpublic void sectionTitle5_()
sectionTitle5_ in interface SinksectionTitle5_ in class SinkAdapterpublic void sectionTitle5()
sectionTitle5 in interface SinksectionTitle5 in class SinkAdapterpublic void paragraph_()
paragraph_ in interface Sinkparagraph_ in class SinkAdapterpublic void paragraph()
paragraph in interface Sinkparagraph in class SinkAdapterpublic void list_()
list_ in interface Sinklist_ in class SinkAdapterpublic void list()
list in interface Sinklist in class SinkAdapterpublic void listItem_()
listItem_ in interface SinklistItem_ in class SinkAdapterpublic void listItem()
listItem in interface SinklistItem in class SinkAdapterpublic void numberedList_()
numberedList_ in interface SinknumberedList_ in class SinkAdapterpublic void numberedList(int numbering)
numberedList in interface SinknumberedList in class SinkAdapternumbering - the numbering wantedSink.NUMBERING_DECIMAL,
Sink.NUMBERING_LOWER_ALPHA,
Sink.NUMBERING_LOWER_ROMAN,
Sink.NUMBERING_UPPER_ALPHA,
Sink.NUMBERING_UPPER_ROMANpublic void numberedListItem_()
numberedListItem_ in interface SinknumberedListItem_ in class SinkAdapterpublic void numberedListItem()
numberedListItem in interface SinknumberedListItem in class SinkAdapterpublic void definitionList_()
definitionList_ in interface SinkdefinitionList_ in class SinkAdapterpublic void definitionList()
definitionList in interface SinkdefinitionList in class SinkAdapterpublic void definedTerm_()
definedTerm_ in interface SinkdefinedTerm_ in class SinkAdapterpublic void definedTerm()
definedTerm in interface SinkdefinedTerm in class SinkAdapterpublic void definition_()
definition_ in interface Sinkdefinition_ in class SinkAdapterpublic void definition()
definition in interface Sinkdefinition in class SinkAdapterpublic void definitionListItem_()
definitionListItem_ in interface SinkdefinitionListItem_ in class SinkAdapterpublic void definitionListItem()
definitionListItem in interface SinkdefinitionListItem in class SinkAdapterpublic void table_()
table_ in interface Sinktable_ in class SinkAdapterpublic void table()
table in interface Sinktable in class SinkAdapterpublic void tableCaption_()
tableCaption_ in interface SinktableCaption_ in class SinkAdapterpublic void tableCaption()
tableCaption in interface SinktableCaption in class SinkAdapterpublic void tableCell_()
tableCell_ in interface SinktableCell_ in class SinkAdapterpublic void tableCell()
tableCell in interface SinktableCell in class SinkAdapterpublic void tableCell(java.lang.String width)
tableCell in interface SinktableCell in class SinkAdapterwidth - the size of the cellpublic void tableHeaderCell_()
tableHeaderCell_ in interface SinktableHeaderCell_ in class SinkAdapterpublic void tableHeaderCell()
tableHeaderCell in interface SinktableHeaderCell in class SinkAdapterpublic void tableHeaderCell(java.lang.String width)
tableHeaderCell in interface SinktableHeaderCell in class SinkAdapterwidth - the size of the header cellpublic void tableRow_()
tableRow_ in interface SinktableRow_ in class SinkAdapterpublic void tableRow()
tableRow in interface SinktableRow in class SinkAdapterpublic void tableRows_()
tableRows_ in interface SinktableRows_ in class SinkAdapter
public void tableRows(int[] justification,
boolean grid)
tableRows in interface SinktableRows in class SinkAdapterjustification - the justification wantedgrid - true to provide a grid, false otherwisepublic void verbatim_()
verbatim_ in interface Sinkverbatim_ in class SinkAdapterpublic void verbatim(boolean boxed)
verbatim in interface Sinkverbatim in class SinkAdapterboxed - true to add a box, false otherwisepublic void figure_()
figure_ in interface Sinkfigure_ in class SinkAdapterpublic void figure()
figure in interface Sinkfigure in class SinkAdapterpublic void figureCaption_()
figureCaption_ in interface SinkfigureCaption_ in class SinkAdapterpublic void figureCaption()
figureCaption in interface SinkfigureCaption in class SinkAdapterpublic void figureGraphics(java.lang.String name)
figureGraphics in interface SinkfigureGraphics in class SinkAdaptername - the sourcepublic void bold_()
bold_ in interface Sinkbold_ in class SinkAdapterpublic void bold()
bold in interface Sinkbold in class SinkAdapterpublic void italic_()
italic_ in interface Sinkitalic_ in class SinkAdapterpublic void italic()
italic in interface Sinkitalic in class SinkAdapterpublic void monospaced_()
monospaced_ in interface Sinkmonospaced_ in class SinkAdapterpublic void monospaced()
monospaced in interface Sinkmonospaced in class SinkAdapterpublic void link_()
link_ in interface Sinklink_ in class SinkAdapterpublic void link(java.lang.String name)
link in interface Sinklink in class SinkAdaptername - the name of the linkpublic void anchor_()
anchor_ in interface Sinkanchor_ in class SinkAdapterpublic void anchor(java.lang.String name)
anchor in interface Sinkanchor in class SinkAdaptername - the name of the anchorpublic void lineBreak()
lineBreak in interface SinklineBreak in class SinkAdapterpublic void nonBreakingSpace()
nonBreakingSpace in interface SinknonBreakingSpace in class SinkAdapterpublic void pageBreak()
pageBreak in interface SinkpageBreak in class SinkAdapterpublic void horizontalRule()
horizontalRule in interface SinkhorizontalRule in class SinkAdapterpublic void rawText(java.lang.String text)
rawText in interface SinkrawText in class SinkAdaptertext - The text to write.public void text(java.lang.String text)
text in interface Sinktext in class SinkAdaptertext - The text to write.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||