this.components = components;
this.layout = layout;
    public TemplateParseContext (final Device sink, Hashtable components) {        this.sink = sink;        this.components = components;        /**         * implement an OutputStream on top         * of a sink.         */        myOut = new OutputStream () {            public final void close() {}            public final void flush() throws IOException {                sink.flush();            }            public final void write(byte b[],                                    int off,                                    int len) throws IOException {                sink.write (b, off, len);            }            public final void write(byte b[]) throws IOException {                sink.write (b);            }            public final void write(int b) throws IOException {                sink.write (b);            }        };    }