int event = parser.getEventType();
if (event == XMLStreamReader.START_ELEMENT) {
AtomElement element = parseElement(parser);
if (element != null) {
// add to entry
result.addElement(element);
// find and set object id
if (element.getObject() instanceof CmisObjectType) {
for (CmisProperty prop : ((CmisObjectType) element.getObject()).getProperties().getProperty()) {
if (EnumPropertiesBase.CMIS_OBJECT_ID.value().equals(prop.getPropertyDefinitionId())) {