Package org.dspace.content.license
Class FormattableArgument
- java.lang.Object
-
- org.dspace.content.license.FormattableArgument
-
- All Implemented Interfaces:
Formattable
public class FormattableArgument extends Object implements Formattable
Wrapper class to make formattable any argument used in the license template. The formatter behavior is delegated to a specific class on "type" basis using the PluginService- Author:
- bollini
- See Also:
Formattable,LicenseArgumentFormatter
-
-
Constructor Summary
Constructors Constructor Description FormattableArgument(String type, Object object)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidformatTo(Formatter formatter, int flags, int width, int precision)
-
-
-
Method Detail
-
formatTo
public void formatTo(Formatter formatter, int flags, int width, int precision)
- Specified by:
formatToin interfaceFormattable
-
-