001 // Copyright (c) 2001 Hursh Jain (http://www.mollypages.org)
002 // The Molly framework is freely distributable under the terms of an
003 // MIT-style license. For details, see the molly pages web site at:
004 // http://www.mollypages.org/. Use, modify, have fun !
005
006 package fc.util;
007
008 import java.io.*;
009 import java.util.*;
010
011 /**
012 A test implementation
013
014 @author hursh jain
015 **/
016 public class TestCustomCode implements CustomCode
017 {
018 public void code(Writer writer, Template env) throws IOException {
019 writer.write("Output from test code, using env=" + env);
020 }
021 } //~interface CustomCode