writeParam(pp, "password", jdbc.getPassword());
writeParam(pp, "query", jdbc.getQuery());
} else if (src instanceof MongoDBDataSource) {
name = "data-source";
MongoDBDataSource mongodb = (MongoDBDataSource) src;
String klass = mongodb.getClass().getName();
AttributeListImpl attribs = new AttributeListImpl();
attribs.addAttribute("class", "CDATA", klass);
pp.startElement(name, attribs);
writeParam(pp, "server-address", mongodb.getServerAddress());
writeParam(pp, "port-number", mongodb.getPortNumber());
writeParam(pp, "user-name", mongodb.getUserName());
writeParam(pp, "password", mongodb.getPassword());
writeParam(pp, "db-auth", mongodb.getDbAuth());
writeParam(pp, "database", mongodb.getDatabase());
writeParam(pp, "cursor-notimeout", mongodb.getCursorNotimeout());
writeParam(pp, "collection", mongodb.getCollection());
writeParam(pp, "query", mongodb.getQuery());
writeParam(pp, "projection", mongodb.getProjection());
} else if (src instanceof CSVDataSource) {
name = "csv";
CSVDataSource csv = (CSVDataSource) src;
pp.startElement(name, null);