if (src instanceof ColumnarDataSource) {
// FIXME: this breaks the order...
for (Column col : ((ColumnarDataSource) src).getColumns()) {
AttributeListImpl atts = new AttributeListImpl();
atts.addAttribute("name", "CDATA", col.getName());
atts.addAttribute("property", "CDATA", col.getProperty());
if (col.getPrefix() != null)
atts.addAttribute("prefix", "CDATA", col.getPrefix());
// FIXME: cleaner really requires object support ... :-(
if (col.getCleaner() != null)
atts.addAttribute("cleaner", "CDATA", col.getCleaner().getClass().getName());