return null;
}
@SuppressWarnings("unchecked")
private SchemasetCustom defaultSchemasetCustom(Map<String, Element> smap) {
SchemasetCustom customRoot = new SchemasetCustom((SchemasetCustom)null);
Set<String> schemaIds = smap.keySet();
for (String schemaId : schemaIds) {
SchemaCustom schemaCustom = new SchemaCustom(customRoot);
schemaCustom.setName(schemaId);
schemaCustom.setForceTypes(Boolean.TRUE);
schemaCustom.setNamespace(smap.get(schemaId).getAttribute("targetNamespace"));
customRoot.getChildren().add(schemaCustom);
}
for (JibxSchemaResolver r : resolvers) {
if (!schemaIds.contains(r.getId())) {
SchemaCustom schemaCustom = new SchemaCustom(customRoot);
schemaCustom.setName(r.getName());
schemaCustom.setNamespace(r.getElement().getAttribute("targetNamespace"));
schemaCustom.setForceTypes(Boolean.TRUE);
customRoot.getChildren().add(schemaCustom);
}
}
return customRoot;
}