Hi,

from time to time I have the need to walk a resource tree to do something with 
a certain type of resource. I've written a very basic ResourceVisitor abstract 
class where I can implement an accept() method. This effectively decouples the 
traversal code from my application code.

As I think this is a pretty common use case, I wanted to ask if it makes sense 
to add such a helper class to Sling itself? Maybe with some added functionality 
to stop traversing when a certain resource is found. WDYT?

Ciao, Victor.

Reply via email to