The GEOSS Discovery And Access Broker APIs
Authors: Fabrizio Papeschi, Mattia Santoro, Stefano Nativi
API version: 1.4.3-beta

Page

Module: Retrieval
Parent Module: ResultSet

A result set page of nodes

Item Index

Methods

count

() Integer

Retrieves the number of nodes of this page

Returns:

Integer:

An integer with the number of nodes contained in this page

hasNext

() Boolean

Tests if one or more node is available

Returns:

Boolean:

true if the next call of the next method will return a GINode, false otherwise (see also reset method))

next

() GINode

Retrieves the next node from this page

Returns:

GINode:

The next node from this page or null if the last has already been returned (see also methods hasNext and reset)

nodes

() Array

Retrieves the nodes of this page

Returns:

Array:

Array of GINode of this page (an empty array for an empty page)

reset

()

Reset this page to its original state, as if the next method had never been called

size

() Integer

Retrieves the maximum number of nodes that this page can contain.
See also discover pageSize option.
See also expand pageSize option

Returns:

Integer:

An integer with the maximum number of nodes that this page can contain