If you want to iterate over nodes, you can walk the tree.  Remember that JBC 
uses a tree structure. 


  | 
  | void doStuff()
  | {
  |   doStuffWithNode(cache.getRoot());
  | }
  | 
  | void doStuffWithNode(Node n)
  | {
  |   processNode( n );
  |   Set<Node> children = n.getChildren();
  |   for (Node child: children) doStuffWithNode( child );
  | }
  | 
  | 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177450#4177450

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177450
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to