use of org.whole.lang.xsd.codebase.SchemaMapping in project whole by wholeplatform.
the class XsdRegistry method deploySchemaForSchema.
protected void deploySchemaForSchema() {
String location = "XMLSchema.xsd";
MappingStrategyRegistry.instance().putMappingModel(new SchemaMapping().create());
// FIXME replace with real schema for schema model with annotations
InputStream is = getClass().getResourceAsStream(location);
Schema schemaForSchema = SchemaUtils.load(new InputStreamInput(is));
putSchema(location, schemaForSchema, true);
}
Aggregations