org.apache.sling.jcr.resource.internal
Class ResourceIteratorDecorator

java.lang.Object
  extended by org.apache.sling.jcr.resource.internal.ResourceIteratorDecorator
All Implemented Interfaces:
Iterator<Resource>

public class ResourceIteratorDecorator
extends Object
implements Iterator<Resource>

Resource iterator handling the decoration of resources.


Constructor Summary
ResourceIteratorDecorator(ResourceDecoratorTracker tracker, String workspaceName, Iterator<Resource> iterator)
           
 
Method Summary
 boolean hasNext()
           
 Resource next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceIteratorDecorator

public ResourceIteratorDecorator(ResourceDecoratorTracker tracker,
                                 String workspaceName,
                                 Iterator<Resource> iterator)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<Resource>

next

public Resource next()
Specified by:
next in interface Iterator<Resource>

remove

public void remove()
Specified by:
remove in interface Iterator<Resource>


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.