org.dspace.content.license
Interface LicenseArgumentFormatter

All Known Implementing Classes:
SimpleDSpaceObjectLicenseFormatter

public interface LicenseArgumentFormatter


Method Summary
 void formatTo(Formatter formatter, int flags, int width, Object object, String type)
          Format the object following the java.util.Formatter rules.
 

Method Detail

formatTo

void formatTo(Formatter formatter,
              int flags,
              int width,
              Object object,
              String type)
Format the object following the java.util.Formatter rules. The object type is expected to be know to the implementer can is free to assume safe to cast as appropriate. If a null object 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 object
flags - the flags option for the formatter
width - the width option for the formatter
object - the object to be formatted
type - the type of the object (this is an alias not the class name! - i.e. item, collection, eperson, etc.)
See Also:
Formatter


Copyright © 2010 DuraSpace. All Rights Reserved.