001 /* 002 // $Id:$ 003 // This software is subject to the terms of the Eclipse Public License v1.0 004 // Agreement, available at the following URL: 005 // http://www.eclipse.org/legal/epl-v10.html. 006 // Copyright (C) 2009-2009 Julian Hyde 007 // All Rights Reserved. 008 // You must accept the terms of that agreement to use this software. 009 */ 010 package org.olap4j.layout; 011 012 import org.olap4j.CellSet; 013 import java.io.PrintWriter; 014 015 /** 016 * Converts a {@link CellSet} into text. 017 * 018 * <p><b>This interface is experimental. It is not part of the olap4j 019 * specification and is subject to change without notice.</b></p> 020 * 021 * @author jhyde 022 * @version $Id:$ 023 * @since Apr 15, 2009 024 */ 025 public interface CellSetFormatter { 026 /** 027 * Formats a CellSet as text to a PrintWriter. 028 * 029 * @param cellSet Cell set 030 * @param pw Print writer 031 */ 032 void format( 033 CellSet cellSet, 034 PrintWriter pw); 035 } 036 037 // End CellSetFormatter.java