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.


Constructor Summary
WrappingPropertyIterator(javax.jcr.PropertyIterator iterator, ContentDecorator decorator)
           
WrappingPropertyIterator(javax.jcr.PropertyIterator iterator, PropertyWrapperFactory wrapperFactory)
          Deprecated. since 4.5.9 use WrappingPropertyIterator(PropertyIterator, ContentDecorator) instead
 
Method Summary
 Object next()
           
 javax.jcr.Property nextProperty()
           
protected  javax.jcr.Property wrapProperty(javax.jcr.Property property)
           
 
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,
                                ContentDecorator decorator)

WrappingPropertyIterator

public WrappingPropertyIterator(javax.jcr.PropertyIterator iterator,
                                PropertyWrapperFactory wrapperFactory)
Deprecated. since 4.5.9 use WrappingPropertyIterator(PropertyIterator, ContentDecorator) instead

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

wrapProperty

protected javax.jcr.Property wrapProperty(javax.jcr.Property property)


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.