schemas.clear();
}
}
public Xsd2JavaSDOModel bind() {
SDOHelperContext hc = new SDOHelperContext();
List<SDOType> types = new ArrayList<SDOType>();
SDODatabindingSchemaResolver schemaResolver = new SDODatabindingSchemaResolver(schemas, entityResolver);
for (Source schema : schemas) {
List<SDOType> list = ((SDOXSDHelper) hc.getXSDHelper()).define(schema, schemaResolver);
types.addAll(list);
}
return new Xsd2JavaSDOModel(hc, types);
}