Map.Entry entry = (Map.Entry) it.next();
this.namespaces.setMapping((String) entry.getKey(),
(String) entry.getValue());
}
CompactNodeTypeDefReader reader = new CompactNodeTypeDefReader(
cnd, "", this.namespaces, new QNodeTypeDefinitionsBuilderImpl());
for (Iterator it = reader.getNodeTypeDefs().iterator(); it.hasNext(); ) {
QNodeTypeDefinition def = (QNodeTypeDefinition) it.next();
nodeTypeDefs.put(def.getName(), def);
}
this.wspNames = Collections.unmodifiableList(new ArrayList(wspNames));