jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Strasser <tobias.stras...@gmail.com>
Subject Re: Pending changes
Date Fri, 18 Mar 2005 15:38:03 GMT
> I need to confirm something.  Let's say A is a node.  If I add three
> nodes to A (A.addNode() x 3) and then do A.getNodes() I should get an
> iterator with 3 nodes in it.
correct.

> Similarly, if node A has 3 nodes and I delete all three of them and then
> do A.getNodes() I should get an iterator with 3 nodes in it.
no, you will get an empty iterator, since the nodes were deleted.

cheers, tobi

-- 
------------------------------------------< tobias.strasser@day.com >---
Tobias Strasser, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97 
-----------------------------------------------< http://www.day.com >---

Mime
View raw message