org.geotools.data
Interface GmlObjectStore


public interface GmlObjectStore

Interface providing lookup operations for gml objects.

This interface may be implemented by data stores to provide an additional operation for looking object a "gml object" directly. A gml object is typically a feature or a geometry.

Since:
2.5
Author:
Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org

Method Summary
 Object getGmlObject(GmlObjectId id, Hints hints)
          Looks up an object by its gml id.
 

Method Detail

getGmlObject

Object getGmlObject(GmlObjectId id,
                    Hints hints)
                    throws IOException
Looks up an object by its gml id.

This method returns null if no such object exists.

Parameters:
id - The id of the object, must not be null.
hints - Any hints to use when looking up the gml object, this value may be null.
Returns:
The gml object, or null if one could not be found matching the specified id.
Throws:
IOException - Any I/O errors that occur.


Copyright © 1996-2009 Geotools. All Rights Reserved.