| Interface | osid.lexicon.ParameterList | ||
|---|---|---|---|
| Implements | osid.OsidList | ||
| Used By | osid.lexicon.ParameterLookupSession | ||
osid.lexicon.ParameterPressSession | |||
osid.lexicon.ParameterQuerySession | |||
osid.lexicon.ParameterSearchResults | |||
| Description |
Like all while (pl.hasNext()) {
Parameter parameter = pl.getNextParameter();
}
or
while (pl.hasNext()) {
Parameter[] parameters = pl.getNextParameters(pl.available());
}
| ||
| Method | getNextParameter | ||
| Description |
Gets the next | ||
| Return | osid.lexicon.Parameter | the next Parameter in this list. The hasNext()
method should be used to test that a next Parameter is available
before calling this method. | |
| Errors | ILLEGAL_STATE | no more elements available in this list | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getNextParameters | ||
| Description |
Gets the next set of | ||
| Parameters | cardinal | n | the number of Parameter elements requested which must be less
than or equal to available() |
| Return | osid.lexicon.Parameter[] | an array of Parameter elements. The length of the array is
less than or equal to the number specified. | |
| Errors | ILLEGAL_STATE | no more elements available in this list | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |