Package org.dspace.content.license
Interface LicenseArgumentFormatter
-
- All Known Implementing Classes:
SimpleDSpaceObjectLicenseFormatter
public interface LicenseArgumentFormatter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidformatTo(Formatter formatter, int flags, int width, Object object, String type)Format the object following thejava.util.Formatterrules.
-
-
-
Method Detail
-
formatTo
void formatTo(Formatter formatter, int flags, int width, Object object, String type)
Format the object following thejava.util.Formatterrules. The object type is expected to be know to the implementer can is free to assume safe to cast as appropriate. If anullobject is supplied is expected that the implementer will work as if a "sample data" was requested.- Parameters:
formatter- the current formatter that need to process the objectflags- the flags option for the formatterwidth- the width option for the formatterobject- the object to be formattedtype- the type of the object (this is an alias not the class name! - i.e. item, collection, eperson, etc.)- See Also:
Formatter
-
-