manager = app.getCatalogManager(catalogName);
} catch (JIException e) {
// TODO тут нужно как-то обрабатывать
throw e;
}
OCCatalogSelection selection = manager.select();
StringBuffer sb = new StringBuffer(4096);
OCXDTOSerializer serializer = app.getXDTOSerializer();
while(selection.next()) {
OCCatalogObject object = selection.getObject();
sb.append(serializer.writeXML(object));