You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Davide Giannella <gi...@gmail.com> on 2014/02/02 23:07:29 UTC
Re: Iterating nodes from NodeBuilder
On 31/01/2014 15:56, Jukka Zitting wrote:
> You might want to take a look at AbstractTree.getChildNames(), where
> we've implemented a similar custom ordering of child nodes using the
> special :childOrder property. This mechanism is used to implement
> orderable nodes at the JCR level.
Done already :)
>> I didn't find any iterator() (or similar) method at the
>> NodeBuilder/State level
> We usually return Iterables instead of Iterators. See getChildNames()
> and getChildNodeEntries(), the latter of which is only available on
> NodeState.
>
found it later on, forgot to follow up on the list.
Thanks
Davide