if(moduleTable.containsKey(targetNamespace)) {
return moduleTable.get(targetNamespace); // found in the cache
}
if(targetNamespace.startsWith(JavaModule.SCHEME)) {
final int from = JavaModule.SCHEME.length() + 1;
return new JavaModule(targetNamespace.substring(from));
} else if(targetNamespace.startsWith("wsdl:")) { // TODO rmi
throw new UnsupportedOperationException("WSDL style module is not supported yet.");
}
if(_resolver != null) {
location = _resolver.resolveLocation(location);