Class EntryIterator

Description

EntryIterator provides access to these objects sequentially, one at a time.

The purpose of all Iterators is to to offer a way for OSID methods to return multiple values of a common type and not use an array. Returning an array may not be appropriate if the number of values returned is large or is fetched remotely. Iterators do not allow access to values by index, rather you must access values in sequence. Similarly, there is no way to go backwards through the sequence unless you place the values in a data structure, such as an array, that allows for access by index.

<p> OSID Version: 2.0 </p>

<p> Licensed under the org.osid.SidImplementationLicenseMIT. </p>

Located in /harmoni/oki2/osid/logging/EntryIterator.php (line 24)


	
			
Direct descendents
Class Description
HarmoniEntryIterator EntryIterator provides access to these objects sequentially, one at a time.
Method Summary
Methods
hasNextEntry (line 45)

Return true if there is an additional Entry Description_IteratorHasNext2]

  • access: public
  • throws: object LoggingException An exception with one of the following messages defined in org.osid.logging.LoggingException may be thrown: UNIMPLEMENTED, OPERATION_FAILED, CONFIGURATION_ERROR, PERMISSION_DENIED
boolean hasNextEntry ()

Redefined in descendants as:
nextEntry (line 69)

Return the next Entry.

  • access: public
  • throws: object LoggingException An exception with one of the following messages defined in org.osid.logging.LoggingException may be thrown: UNIMPLEMENTED, OPERATION_FAILED, CONFIGURATION_ERROR, PERMISSION_DENIED, NO_MORE_ITERATOR_ELEMENTS
object Entry nextEntry ()

Redefined in descendants as:

Documentation generated on Wed, 19 Sep 2007 10:23:02 -0400 by phpDocumentor 1.3.0RC3