public void writeObject (ObjectOutputStream out)
        throws IOException
    {
        if (!classDefinesElementType()) {
            out.writeUTF(_elementType.getName());
        }
        out.write(_contents);
    }
public void writeObject ( ObjectOutputStream out ) throws IOException { if ( ! classDefinesElementType ( ) ) { out . writeUTF ( _elementType . getName ( ) ) ; } out . write ( _contents ) ; }
Writes our custom streamable fields.