// Create a DigitalObject for each URI.
DigitalObjectReference[] dobs = new DigitalObjectReference[childs.size()];
for( int i = 0; i < childs.size(); i ++ ) {
// Create a DOB from the URI:
dobs[i] = new DigitalObjectReference( childs.get(i) );
// Mark that DigitalObject as a Directory if listing it returns NULL:
log.info("Calling Data Registry List for " + childs.get(i));
List<URI> grandchilds = this.dataReg.list(childs.get(i));
if( grandchilds == null ) {