info.magnolia.jcr.iterator
Class WrappingNodeIterator

java.lang.Object
  extended by info.magnolia.jcr.iterator.DelegatingNodeIterator
      extended by info.magnolia.jcr.iterator.WrappingNodeIterator
All Implemented Interfaces:
Iterator, javax.jcr.NodeIterator, javax.jcr.RangeIterator

public class WrappingNodeIterator
extends DelegatingNodeIterator

Node iterator wrapping all returned nodes using provided node wrapper.

Version:
$Id$

Constructor Summary
WrappingNodeIterator(javax.jcr.NodeIterator iterator, NodeWrapperFactory wrapperFactory)
           
 
Method Summary
 Object next()
           
 javax.jcr.Node nextNode()
           
 
Methods inherited from class info.magnolia.jcr.iterator.DelegatingNodeIterator
getPosition, getSize, hasNext, remove, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrappingNodeIterator

public WrappingNodeIterator(javax.jcr.NodeIterator iterator,
                            NodeWrapperFactory wrapperFactory)
Method Detail

next

public Object next()
Specified by:
next in interface Iterator
Overrides:
next in class DelegatingNodeIterator

nextNode

public javax.jcr.Node nextNode()
Specified by:
nextNode in interface javax.jcr.NodeIterator
Overrides:
nextNode in class DelegatingNodeIterator


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.