info.magnolia.jcr.iterator
Class WrappingPropertyIterator

java.lang.Object
  extended by info.magnolia.jcr.iterator.DelegatingPropertyIterator
      extended by info.magnolia.jcr.iterator.WrappingPropertyIterator
All Implemented Interfaces:
Iterator, javax.jcr.PropertyIterator, javax.jcr.RangeIterator

public class WrappingPropertyIterator
extends DelegatingPropertyIterator

Property iterator wrapping all returned nodes using provided property wrapper.

Version:
$Id$

Constructor Summary
WrappingPropertyIterator(javax.jcr.PropertyIterator iterator, PropertyWrapperFactory wrapperFactory)
           
 
Method Summary
 Object next()
           
 javax.jcr.Property nextProperty()
           
 
Methods inherited from class info.magnolia.jcr.iterator.DelegatingPropertyIterator
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

WrappingPropertyIterator

public WrappingPropertyIterator(javax.jcr.PropertyIterator iterator,
                                PropertyWrapperFactory wrapperFactory)
Method Detail

next

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

nextProperty

public javax.jcr.Property nextProperty()
Specified by:
nextProperty in interface javax.jcr.PropertyIterator
Overrides:
nextProperty in class DelegatingPropertyIterator


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