new TemplateParseContext(device, layout.getComponents()));
new TemplateParseContext(device, layout));
    private void write(Device device, STemplateLayout layout)        throws IOException {        final DataSource source = layout.getDataSource();        if(source == null) {            device.append("Unable to open template-file <b>'");            device.append(source);            device.append("'</b>");        }	else {            PARSER.process(source,	        new TemplateParseContext(device, layout.getComponents()));        }    }