}
<BUG>private boolean hasDatabase(final String name) {
</BUG>
final Set<String> names = this.context.getDatabase().getCollectionNames();
<BUG>return names.contains(name) && !this.context.isFilterCollectionName(name);
}</BUG>
private Resource getResource(final ResourceResolver resourceResolver, final String path, final String[] info) {
if ( info.length == 0 ) {
return new MongoDBCollectionResource(resourceResolver, path);
} else if ( info.length == 1 ) {

}
public Resource next() {
final String name = i.next();
return new MongoDBCollectionResource(parent.getResourceResolver(), parent.getPath() + '/' + name);
}
