org.geotools.catalog
Interface QueryResult


public interface QueryResult

A collection of catalog entries.

Version:
Catalog Services
Author:
OpenGIS® consortium

Method Summary
 CatalogEntry getEntry(int index)
          Returns the indexed catalog entry.
 int getNumEntries()
          Gets the number of catalog entries found.
 java.util.Iterator iterator()
          Returns an iterator that can be used to iterate through catalog entries.
 

Method Detail

getNumEntries

public int getNumEntries()
Gets the number of catalog entries found.

Returns:
the number of CatalogEntries in this result object.

getEntry

public CatalogEntry getEntry(int index)
Returns the indexed catalog entry.

Parameters:
index - the index of the catalog entry requested.
Returns:
the requested catalog entry.

iterator

public java.util.Iterator iterator()
Returns an iterator that can be used to iterate through catalog entries.

Returns:
An iterator for iterating through the catalog entries.


Copyright © GeoTools. All Rights Reserved.