Hi,

On Tue, May 8, 2012 at 3:51 AM, David Hausladen
<[email protected]> wrote:
> Under the assumption that it's opt in, I started an implementation of the 
> Node interface that
> adapts to the ItemSequence's NodeSequence (to minimize visibility of the
> org.apache.jackrabbit.commons.flat classes).

If you like, I'd love to incorporate something like that in
jackrabbit-jcr-commons.

> The fact that NodeSequence returns Iterator<javax.jcr.Node> instead of
> javax.jcr.NodeIterator makes it impossible.

Use the Adapter pattern.

BR,

Jukka Zitting

Reply via email to