Verified Owner
Top Description Methods
org.jabref.logic.layout

public Interface ParamLayoutFormatter

extends LayoutFormatter
Known Direct Implementers
org.jabref.logic.layout.format.DateFormatter, org.jabref.logic.layout.format.Default, org.jabref.logic.layout.format.FileLink, org.jabref.logic.layout.format.HTMLChars, org.jabref.logic.layout.format.Number, org.jabref.logic.layout.format.RisAuthors, org.jabref.logic.layout.AbstractParamLayoutFormatter

This interface extends LayoutFormatter, adding the capability of taking and additional parameter. Such a parameter is specified in the layout file by the following construct: \format[MyFormatter(argument){\field} If and only if MyFormatter is a class that implements ParamLayoutFormatter, it will be set up with the argument given in the parenthesis by way of the method setArgument(String). If no argument is given, the formatter will be invoked without the setArgument() method being called first.

Method Summary

Modifier and TypeMethod and Description
public void
setArgument(String
A String argument.
arg
)

Method for setting the argument of this formatter.

Inherited from org.jabref.logic.layout.LayoutFormatter:
format

Method Detail

setArgumentback to summary
public void setArgument(String arg)

Method for setting the argument of this formatter.

Parameters
arg:String

A String argument.