Package de.undercouch.citeproc
Class DefaultAbbreviationProvider
- java.lang.Object
-
- de.undercouch.citeproc.DefaultAbbreviationProvider
-
- All Implemented Interfaces:
AbbreviationProvider
public class DefaultAbbreviationProvider extends Object implements AbbreviationProvider
Default implementation ofAbbreviationProvider- Author:
- Michel Kraemer
-
-
Field Summary
-
Fields inherited from interface de.undercouch.citeproc.AbbreviationProvider
DEFAULT_LIST_NAME
-
-
Constructor Summary
Constructors Constructor Description DefaultAbbreviationProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(String name, CSLAbbreviationList list)Adds an abbreviation list to this providerCSLAbbreviationListgetAbbreviations(String name)Retrieves an abbreviation list with a given name
-
-
-
Method Detail
-
add
public void add(String name, CSLAbbreviationList list)
Adds an abbreviation list to this provider- Parameters:
name- the list's namelist- the list
-
getAbbreviations
public CSLAbbreviationList getAbbreviations(String name)
Description copied from interface:AbbreviationProviderRetrieves an abbreviation list with a given name- Specified by:
getAbbreviationsin interfaceAbbreviationProvider- Parameters:
name- the list's name- Returns:
- the abbreviation list or null if there is no such list
-
-