com.healthmarketscience.common.util
Interface Appendee

All Known Implementing Classes:
AppendeeObject

public interface Appendee

Should be implemented by an object which can append itself to an AppendableExt object, where the work of generating a result for toString() would itself involve the appending of multiple CharSequences (Strings, etc).

In general, it is expected that the data appended to the AppendableExt an appendTo(com.healthmarketscience.common.util.AppendableExt) invocation be the same as the result of a call to Object.toString(). If this is not the case, it should be clearly documented in the class.

Author:
James Ahlborn

Method Summary
 void appendTo(AppendableExt a)
          Appends this object to the given AppendableExt.
 

Method Detail

appendTo

void appendTo(AppendableExt a)
              throws IOException
Appends this object to the given AppendableExt. Called by an AppendableExt when a request is made to append an instance of Appendee.

Parameters:
a - the AppendableExt to which this class should append itself
Throws:
IOException - if the append fails


Copyright © 2006-2016 Health Market Science. All Rights Reserved.