// javadoc inherited
public void marshal(Object arg0, IMarshallingContext context)
throws JiBXException {
MarshallingContext ctx = (MarshallingContext) context;
DatasourceConfiguration dataSource = (DatasourceConfiguration) arg0;
DataSourceType type = dataSource.getType();
if (type == DataSourceType.JDBC_DATASOURCE) {
JDBCDatasource jdbcDatasource = (JDBCDatasource) dataSource;
ctx.startTag(index, JDBC_DATASOURCE_TAG_NAME);
writeTagsTextContent(ctx, DRIVER_CLASS_TAG_NAME,