Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.proxy
Class AnnouncementIteratorProxy

java.lang.Object
  extended by com.jivesoftware.forum.proxy.AnnouncementIteratorProxy
All Implemented Interfaces:
java.util.Iterator

public class AnnouncementIteratorProxy
extends java.lang.Object
implements java.util.Iterator

Proxy class for Iterators of Announcement objects.


Constructor Summary
AnnouncementIteratorProxy(java.util.Iterator iterator, AuthToken authToken, Permissions permissions)
           
 
Method Summary
 Announcement getNextElement()
          Returns the next available element, or null if there are no more elements.
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnouncementIteratorProxy

public AnnouncementIteratorProxy(java.util.Iterator iterator,
                                 AuthToken authToken,
                                 Permissions permissions)
Method Detail

hasNext

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

next

public java.lang.Object next()
                      throws java.util.NoSuchElementException
Specified by:
next in interface java.util.Iterator
Throws:
java.util.NoSuchElementException

remove

public void remove()
            throws java.lang.UnsupportedOperationException
Specified by:
remove in interface java.util.Iterator
Throws:
java.lang.UnsupportedOperationException

getNextElement

public Announcement getNextElement()
Returns the next available element, or null if there are no more elements.

Returns:
the next available element.

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.