info.magnolia.jcr.decoration
Class ContentDecoratorPropertyIterator

java.lang.Object
  extended by info.magnolia.jcr.iterator.FilteringRangeIterator<javax.jcr.Property>
      extended by info.magnolia.jcr.decoration.ContentDecoratorPropertyIterator
All Implemented Interfaces:
Iterator, javax.jcr.PropertyIterator, javax.jcr.RangeIterator

public class ContentDecoratorPropertyIterator
extends FilteringRangeIterator<javax.jcr.Property>
implements javax.jcr.PropertyIterator

PropertyIterator that applies wrappers and filtering by delegating to a ContentDecorator.

Version:
$Id$

Constructor Summary
ContentDecoratorPropertyIterator(javax.jcr.PropertyIterator propertyIterator, ContentDecorator contentDecorator)
           
 
Method Summary
protected  boolean evaluate(javax.jcr.Property property)
           
 javax.jcr.Property next()
           
 javax.jcr.Property nextProperty()
           
protected  javax.jcr.Property wrapProperty(javax.jcr.Property property)
           
 
Methods inherited from class info.magnolia.jcr.iterator.FilteringRangeIterator
getPosition, getSize, hasNext, remove, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
 
Methods inherited from interface java.util.Iterator
hasNext, remove
 

Constructor Detail

ContentDecoratorPropertyIterator

public ContentDecoratorPropertyIterator(javax.jcr.PropertyIterator propertyIterator,
                                        ContentDecorator contentDecorator)
Method Detail

next

public javax.jcr.Property next()
Specified by:
next in interface Iterator
Overrides:
next in class FilteringRangeIterator<javax.jcr.Property>

nextProperty

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

evaluate

protected boolean evaluate(javax.jcr.Property property)
Specified by:
evaluate in class FilteringRangeIterator<javax.jcr.Property>

wrapProperty

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


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