writeParam(pp, "header-line", csv.getHeaderLine());
if (csv.getSeparator() != 0)
writeParam(pp, "separator", csv.getSeparator());
} else if (src instanceof SparqlDataSource) {
name = "sparql";
SparqlDataSource sparql = (SparqlDataSource) src;
pp.startElement(name, null);
writeParam(pp, "endpoint", sparql.getEndpoint());
writeParam(pp, "query", sparql.getQuery());
writeParam(pp, "page-size", sparql.getPageSize());
writeParam(pp, "triple-mode", sparql.getTripleMode());
}
if (src instanceof ColumnarDataSource) {
// FIXME: this breaks the order...
for (Column col : ((ColumnarDataSource) src).getColumns()) {