org.apache.jetspeed.om.registry.base
Class PortletIterator
java.lang.Object
org.apache.jetspeed.om.registry.base.PortletIterator
- All Implemented Interfaces:
- java.util.Iterator
- public class PortletIterator
- extends java.lang.Object
- implements java.util.Iterator
PortletIterator - seamless iterator over nested vectors of portlet collections
- Version:
- $Id: PortletIterator.java,v 1.4 2005/04/27 14:08:24 raphael Exp $
- Author:
- David Sean Taylor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entry
protected BasePortletEntry entry
method
protected java.lang.String method
vector
protected java.util.Vector vector
index
protected int index
PortletIterator
public PortletIterator(BasePortletEntry entry,
java.lang.String method)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator
remove
public void remove()
throws java.lang.IllegalStateException,
java.lang.UnsupportedOperationException
- Specified by:
remove
in interface java.util.Iterator
- Throws:
java.lang.IllegalStateException
java.lang.UnsupportedOperationException
getParentEntry
protected BasePortletEntry getParentEntry(BasePortletEntry entry)
next
public java.lang.Object next()
throws java.util.NoSuchElementException
- Specified by:
next
in interface java.util.Iterator
- Throws:
java.util.NoSuchElementException
getVector
protected java.util.Vector getVector()
Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.