com.sun.syndication.common
Interface ToString

All Known Subinterfaces:
DCModule, DCSubject, Module, SyModule, SyndCategory, SyndContent, SyndEntry, SyndFeed, SyndImage
All Known Implementing Classes:
DCModuleImpl, DCSubjectImpl, ModuleImpl, ObjectBean, SyModuleImpl, SyndCategoryImpl, SyndContentImpl, SyndEntryImpl, SyndFeedImpl, SyndImageImpl, 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.