Class FromNodesAssetIterator

Description

The FromNodesAsset iterator lazily fetches assets as they are requested.

OSID Version: 2.0

Located in /harmoni/core/oki2/repository/FromNodesAssetIterator.class.php (line 29)

SObject
   |
   --HarmoniIterator
      |
      --HarmoniAssetIterator
         |
         --FromNodesAssetIterator
Method Summary
object FromNodesAssetIterator (object NodeIterator $nodes, object Repository $repository)
boolean hasNext ()
object Asset next ()
Variables
Methods
Constructor FromNodesAssetIterator (line 43)

Constructor

  • since: 5/4/06
  • access: public
object FromNodesAssetIterator (object NodeIterator $nodes, object Repository $repository)
  • object NodeIterator $nodes
  • object Repository $repository
hasNext (line 70)

Return true if there is an additional Asset ; false otherwise.

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

Redefinition of:
HarmoniIterator::hasNext()
next (line 95)

Return the next Asset.

  • access: public
  • throws: object HierarchyException An exception with one of the following messages defined in org.osid.hierarchy.HierarchyException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NO_MORE_ITERATOR_ELEMENTS
object Asset next ()

Redefinition of:
HarmoniAssetIterator::next()
Return the next Asset.

Inherited Methods

Inherited From HarmoniAssetIterator

HarmoniAssetIterator::hasNextAsset()
HarmoniAssetIterator::next()
HarmoniAssetIterator::nextAsset()

Inherited From HarmoniIterator

HarmoniIterator::HarmoniIterator()
HarmoniIterator::add()
HarmoniIterator::count()
HarmoniIterator::hasNext()
HarmoniIterator::next()
HarmoniIterator::skipNext()

Inherited From SObject

SObject::asA()
SObject::asString()
SObject::copy()
SObject::copySameFrom()
SObject::copyTwoLevel()
SObject::deepCopy()
SObject::isEqual()
SObject::isEqualTo()
SObject::isNotEqualTo()
SObject::isNotReferenceTo()
SObject::isReferenceTo()
SObject::newFrom()
SObject::postCopy()
SObject::printableString()
SObject::shallowCopy()
SObject::_deepCopyArray()

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