Top Description Fields Constructors Methods
de.undercouch.citeproc.csl.internal.format

public Class TextFormat

extends BaseFormat
Class Inheritance
Imports
de.undercouch.citeproc.csl.internal.RenderContext, .SBibliography, .TokenBuffer, de.undercouch.citeproc.csl.internal.token.DisplayGroupToken, de.undercouch.citeproc.output.Bibliography, .SecondFieldAlign

The text output format
Author
Michel Kraemer

Field Summary

Inherited from de.undercouch.citeproc.csl.internal.format.BaseFormat:
convertLinks

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected String
doFormatBibliographyEntry(TokenBuffer buffer, RenderContext ctx, int index)

Implements abstract de.undercouch.citeproc.csl.internal.format.BaseFormat.doFormatBibliographyEntry.

Convert a bibliography entry from a post-processed buffer to a string

protected String
doFormatCitation(TokenBuffer buffer, RenderContext ctx)

Implements abstract de.undercouch.citeproc.csl.internal.format.BaseFormat.doFormatCitation.

Convert a citation from a post-processed buffer to a string

public String
public Bibliography
makeBibliography(String[] entries, SBibliography bibliographyElement)

Implements de.undercouch.citeproc.csl.internal.format.Format.makeBibliography.

Create a Bibliography object with the given entries and default parameters specified by this format

protected String
Inherited from de.undercouch.citeproc.csl.internal.format.BaseFormat:
addDOIPrefixcloseDisplayGroupcloseFontStylecloseFontVariantcloseFontWeightcloseTextDecorationcloseVerticalAlignescapeformatformatBibliographyEntryformatCitationformatDOIformatURLopenFontStyleopenFontVariantopenFontWeightopenTextDecorationopenVerticalAlignpostProcesssetConvertLinks

Constructor Detail

TextFormatback to summary
public TextFormat()

Method Detail

doFormatBibliographyEntryback to summary
protected String doFormatBibliographyEntry(TokenBuffer buffer, RenderContext ctx, int index)

Implements abstract de.undercouch.citeproc.csl.internal.format.BaseFormat.doFormatBibliographyEntry.

Doc from de.undercouch.citeproc.csl.internal.format.BaseFormat.doFormatBibliographyEntry.

Convert a bibliography entry from a post-processed buffer to a string

Annotations
@Override
doFormatCitationback to summary
protected String doFormatCitation(TokenBuffer buffer, RenderContext ctx)

Implements abstract de.undercouch.citeproc.csl.internal.format.BaseFormat.doFormatCitation.

Doc from de.undercouch.citeproc.csl.internal.format.BaseFormat.doFormatCitation.

Convert a citation from a post-processed buffer to a string

Annotations
@Override
getNameback to summary
public String getName()

Implements de.undercouch.citeproc.csl.internal.format.Format.getName.

Doc from de.undercouch.citeproc.csl.internal.format.Format.getName.

Get the format's name

Annotations
@Override
makeBibliographyback to summary
public Bibliography makeBibliography(String[] entries, SBibliography bibliographyElement)

Implements de.undercouch.citeproc.csl.internal.format.Format.makeBibliography.

Doc from de.undercouch.citeproc.csl.internal.format.Format.makeBibliography.

Create a Bibliography object with the given entries and default parameters specified by this format

Annotations
@Override
openDisplayGroupback to summary
protected String openDisplayGroup(DisplayGroupToken.Type type)

Overrides de.undercouch.citeproc.csl.internal.format.BaseFormat.openDisplayGroup.

Doc from de.undercouch.citeproc.csl.internal.format.BaseFormat.openDisplayGroup.

Generate text that opens a display group

Annotations
@Override