}
private CmisObject createCmisObjectFromElement( Element element, int depth ) {
CmisObject object = new CmisObjectImpl();
CmisProperties properties = new CmisProperties();
List<CmisProperty> propList = properties.getProperties();
// is this a folder or a file?
boolean isDirectory = false;
Attribute attr = element.attribute( "isDirectory" ); //$NON-NLS-1$
if ( attr != null ) {