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);
}
System.out.print("Updating document....");