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:
  • Constructor Details

    • FormattableArgument

      public FormattableArgument(String type, Object object)
  • Method Details

    • formatTo

      public void formatTo(Formatter formatter, int flags, int width, int precision)
      Specified by:
      formatTo in interface Formattable