info.magnolia.jcr.iterator
Class FilteringPropertyIterator

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

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

PropertyIterator hiding all properties that do not pass the predicate.

Version:
$Id$

Constructor Summary
FilteringPropertyIterator(javax.jcr.PropertyIterator iterator, AbstractPredicate<javax.jcr.Property> predicate)
           
 
Method Summary
 javax.jcr.Property nextProperty()
           
 
Methods inherited from class info.magnolia.jcr.iterator.FilteringRangeIterator
getPosition, getSize, hasNext, next, 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, next, remove
 

Constructor Detail

FilteringPropertyIterator

public FilteringPropertyIterator(javax.jcr.PropertyIterator iterator,
                                 AbstractPredicate<javax.jcr.Property> predicate)
Method Detail

nextProperty

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


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