use of org.eclipse.persistence.sdo.helper.SDOHelperContext in project metro-jax-ws by eclipse-ee4j.
the class SDOSchemaCompiler method bind.
public Xsd2JavaSDOModel bind() {
SDOHelperContext hc = new SDOHelperContext();
List<SDOType> types = new ArrayList<>();
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);
}
Aggregations