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 PluginManager
- Author:
- bollini
- See Also:
Formattable,
LicenseArgumentFormatter
|
Method Summary |
void |
formatTo(Formatter formatter,
int flags,
int width,
int precision)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormattableArgument
public FormattableArgument(String type,
Object object)
formatTo
public void formatTo(Formatter formatter,
int flags,
int width,
int precision)
- Specified by:
formatTo in interface Formattable
Copyright © 2011 DuraSpace. All Rights Reserved.