+ tmIds);
TmsElement tm = new TmsElement();
for (String tmId : tmIds.split(",")) {
String tmHref = FeedUris.getTranslationMemoryFeedUrl(tmId).toString();
Link tmLink = new Link();
tmLink.setHref(tmHref);
tm.addLink(tmLink);
}
requestEntry.setTranslationMemory(tm);
}
if (parser.containsKey("glids")) {
String glIds = parser.getValue("glids");
System.out.println("...by adding glossaries with ids: "
+ glIds);
GlossariesElement gl = new GlossariesElement();
for (String glId : glIds.split(",")) {
String glHref = FeedUris.getGlossaryFeedUrl(glId).toString();
Link glLink = new Link();
glLink.setHref(glHref);
gl.addLink(glLink);
}
requestEntry.setGlossary(gl);
}