com.sun.syndication.common
Interface ToString

All Known Subinterfaces:
DCModuleI, DCSubjectI, ModuleI, SyModuleI, SyndCategoryI, SyndContentI, SyndEntryI, SyndFeedI, SyndImageI
All Known Implementing Classes:
DCModule, DCSubject, Module, ObjectBean, SyModule, SyndCategory, SyndContent, SyndEntry, SyndFeed, SyndImage, ToStringBean

public interface ToString

To provide support for contextual toString functionality.

Classes implementing this interface can collaborate with the caller of the toString method by prepending a prefix to their toString output.

Author:
Alejandro Abdelnur

Method Summary
 java.lang.String toString(java.lang.String prefix)
          Returns the String representation of the object with a prefix.
 

Method Detail

toString

public java.lang.String toString(java.lang.String prefix)
Returns the String representation of the object with a prefix.

Parameters:
prefix - prefix for the String representation of the object.
Returns:
String representation of the object prepended by the given prefix.


Copyright © 2004 Sun Microsystems. All Rights Reserved.