log.debug("constructURIinXRD() got selected service");
Service sep = (Service)it.next();
List uris = sep.getURIs();
Iterator itURI = uris.iterator();
while (itURI.hasNext()) {
SEPUri uri = (SEPUri)itURI.next();
String append = uri.getAppend();
if (append != null) {
String r = constructURI(uri.getURI(), uri.getAppend(), qxri);
try {
uri.setURI(new URI(r));
uri.setAppend(null);
} catch (URISyntaxException e) {}
}
}
}
for (int i = 0; i < finalXRD.getNumServices(); i++) {
log.debug("constructURIinXRD() got service");
Service sep = (Service)finalXRD.getServiceAt(i);
List uris = sep.getURIs();
Iterator itURI = uris.iterator();
while (itURI.hasNext()) {
SEPUri uri = (SEPUri)itURI.next();
String append = uri.getAppend();
if (append != null) {
String r = constructURI(uri.getURI(), uri.getAppend(), qxri);
try {
uri.setURI(new URI(r));
uri.setAppend(null);
} catch (URISyntaxException e) {}
}
}
}
}