1 /* 2 // $Id: //open/mondrian/src/main/mondrian/calc/CalcWriter.java#2 $ 3 // This software is subject to the terms of the Common Public License 4 // Agreement, available at the following URL: 5 // http://www.opensource.org/licenses/cpl.html. 6 // Copyright (C) 2006-2006 Julian Hyde 7 // All Rights Reserved. 8 // You must accept the terms of that agreement to use this software. 9 */ 10 package mondrian.calc; 11 12 import java.io.PrintWriter; 13 14 /** 15 * Visitor which serializes an expression to text. 16 * 17 * @author jhyde 18 * @version $Id: //open/mondrian/src/main/mondrian/calc/CalcWriter.java#2 $ 19 * @since Dec 23, 2005 20 */ 21 public class CalcWriter { 22 private final PrintWriter writer; 23 24 public CalcWriter(PrintWriter writer) { 25 this.writer = writer; 26 } 27 28 public PrintWriter getWriter() { 29 return writer; 30 } 31 } 32 33 // End CalcWriter.java 34