Top Description Methods
de.undercouch.citeproc

public Interface AbbreviationProvider

Known Direct Implementers
de.undercouch.citeproc.DefaultAbbreviationProvider
Imports
de.undercouch.citeproc.csl.CSLItemData

Retrieves abbreviations for titles, authorities, institution names, etc.
Author
Michel Kraemer

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the abbreviated string or null if the original string should not be abbreviated
getAbbreviation
(String
the name of the variable
variable
,
String
the original (unabbreviated) string
original
,
CSLItemData
the current CSL item data
item
)

Retrieves an abbreviation for a given variable

Method Detail

getAbbreviationback to summary
public String getAbbreviation(String variable, String original, CSLItemData item)

Retrieves an abbreviation for a given variable

Parameters
variable:String

the name of the variable

original:String

the original (unabbreviated) string

item:CSLItemData

the current CSL item data

Returns:String

the abbreviated string or null if the original string should not be abbreviated