info.magnolia.jcr.iterator
Class DelegatingPropertyIterator

java.lang.Object
  extended by info.magnolia.jcr.iterator.DelegatingPropertyIterator
All Implemented Interfaces:
Iterator, javax.jcr.PropertyIterator, javax.jcr.RangeIterator
Direct Known Subclasses:
WrappingPropertyIterator

public class DelegatingPropertyIterator
extends Object
implements javax.jcr.PropertyIterator

Delegating PropertyIterator intended to be used by subclasses for decoration.

Version:
$Id$

Constructor Summary
DelegatingPropertyIterator(javax.jcr.PropertyIterator iterator)
           
 
Method Summary
 long getPosition()
           
 long getSize()
           
 boolean hasNext()
           
 Object next()
           
 javax.jcr.Property nextProperty()
           
 void remove()
           
 void skip(long skipNum)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatingPropertyIterator

public DelegatingPropertyIterator(javax.jcr.PropertyIterator iterator)
Method Detail

nextProperty

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

skip

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

getSize

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

getPosition

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

hasNext

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

next

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

remove

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


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