info.magnolia.module.workflow.jcr
Class JCRExpressionStore.StoreIterator
java.lang.Object
info.magnolia.module.workflow.jcr.JCRExpressionStore.StoreIterator
- All Implemented Interfaces:
- Iterator
- Enclosing class:
- JCRExpressionStore
protected final class JCRExpressionStore.StoreIterator
- extends Object
- implements Iterator
'lightweight' storeIterator. The previous version were stuffing all the
expression within a collection and returning an iterator on it.
The remaining question is : what's behind Magnolia's Content.iterator()
method ?
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JCRExpressionStore.StoreIterator
public JCRExpressionStore.StoreIterator(Class assignClass)
throws Exception
- Throws:
Exception
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
fetchNext
public openwfe.org.engine.expressions.FlowExpression fetchNext()
next
public Object next()
throws NoSuchElementException
- Specified by:
next
in interface Iterator
- Throws:
NoSuchElementException
remove
public void remove()
- Specified by:
remove
in interface Iterator
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.