The value returned from this method should honor the return value from IResourceVisitor.visitResource(), which specifies whether or not the folder resource should be recursed into or not.