import alt.dev.pl.PLObjectOutput;
import alt.dev.pl.PLObjectOutputWriter;

public class StringBufferWriter extends PLObjectOutputWriter
{

//	===========================================================================
//	Constant(s)
//	---------------------------------------------------------------------------

        private static final Class      Type = StringBuffer.class;

//	===========================================================================
//	Class variable(s)
//	---------------------------------------------------------------------------

//	===========================================================================
//	Instance variable(s)
//	---------------------------------------------------------------------------

//	===========================================================================
//	Constructor method(s)
//	---------------------------------------------------------------------------

	public StringBufferWriter()
	{
		super();
	}

//	===========================================================================
//	Class method(s)
//	---------------------------------------------------------------------------

//	===========================================================================
//	Instance method(s)
//	---------------------------------------------------------------------------

        protected Class type()
        {
                return StringBufferWriter.Type;
        }

        protected Object write(final Object anObject, final PLObjectOutput anOutput)
        {
                String  aDescription = "x-stringbuffer:" + anObject.toString();
                 
                return aDescription;
        }

}
