org.hippoecm.hst.core.jcr
Class RewindableEventIterator

java.lang.Object
  extended by org.hippoecm.hst.core.jcr.RewindableEventIterator
All Implemented Interfaces:
Iterator, javax.jcr.observation.EventIterator, javax.jcr.RangeIterator

Deprecated.

@Deprecated
public class RewindableEventIterator
extends Object
implements javax.jcr.observation.EventIterator

RewindableEventIterator

An implementation of javax.jcr.observation.EventIterator, which has the ability to rewind to the beginning.

Caution: Because this tries to copy all events initially, it can cause performance problems.

Version:
$Id: RewindableEventIterator.java 28650 2011-06-22 15:51:04Z aschrijvers $ * @deprecated unused since 2.23.xx

Constructor Summary
RewindableEventIterator(javax.jcr.observation.EventIterator events)
          Deprecated.  
RewindableEventIterator(javax.jcr.observation.EventIterator events, int max, String[] skipPaths)
          Deprecated.  
 
Method Summary
 long getPosition()
          Deprecated.  
 long getSize()
          Deprecated.  
 boolean hasNext()
          Deprecated.  
protected  boolean isEventOnSkippedPath(javax.jcr.observation.Event event, String[] skipPaths)
          Deprecated.  
 Object next()
          Deprecated.  
 javax.jcr.observation.Event nextEvent()
          Deprecated.  
 void remove()
          Deprecated.  
 void rewind()
          Deprecated.  
 void skip(long skipNum)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RewindableEventIterator

public RewindableEventIterator(javax.jcr.observation.EventIterator events)
Deprecated. 

RewindableEventIterator

public RewindableEventIterator(javax.jcr.observation.EventIterator events,
                               int max,
                               String[] skipPaths)
Deprecated. 
Method Detail

rewind

public void rewind()
Deprecated. 

nextEvent

public javax.jcr.observation.Event nextEvent()
Deprecated. 
Specified by:
nextEvent in interface javax.jcr.observation.EventIterator

getPosition

public long getPosition()
Deprecated. 
Specified by:
getPosition in interface javax.jcr.RangeIterator

getSize

public long getSize()
Deprecated. 
Specified by:
getSize in interface javax.jcr.RangeIterator

skip

public void skip(long skipNum)
Deprecated. 
Specified by:
skip in interface javax.jcr.RangeIterator

hasNext

public boolean hasNext()
Deprecated. 
Specified by:
hasNext in interface Iterator

next

public Object next()
Deprecated. 
Specified by:
next in interface Iterator

remove

public void remove()
Deprecated. 
Specified by:
remove in interface Iterator

isEventOnSkippedPath

protected boolean isEventOnSkippedPath(javax.jcr.observation.Event event,
                                       String[] skipPaths)
                                throws javax.jcr.RepositoryException
Deprecated. 
Throws:
javax.jcr.RepositoryException


Copyright © 2008-2012 Hippo. All Rights Reserved.