DesignWriter writer = new DesignWriter( (ReportDesign) module ); writer.write( out );
module.getWriter( ).write( out );
	public void serialize( OutputStream out ) throws IOException	{		assert out != null;		module.prepareToSave( );		DesignWriter writer = new DesignWriter( (ReportDesign) module );		writer.write( out );		module.onSave( );	}