org.hibernatespatial.readers
Class BasicFeatureReader
java.lang.Object
org.hibernatespatial.readers.BasicFeatureReader
- All Implemented Interfaces:
- FeatureReader
public class BasicFeatureReader
- extends Object
- implements FeatureReader
A FeatureReader
that uses the FeatureAdapter
to dynamically adapt retrieved objects to the Feature interface.
- Author:
- Karel Maesen
Constructor Summary |
BasicFeatureReader(Class entityClass,
org.hibernate.SessionFactory sf,
com.vividsolutions.jts.geom.Geometry filterGeom,
String attributeFilter)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicFeatureReader
public BasicFeatureReader(Class entityClass,
org.hibernate.SessionFactory sf,
com.vividsolutions.jts.geom.Geometry filterGeom,
String attributeFilter)
throws FinderException
- Throws:
FinderException
close
public void close()
- Specified by:
close
in interface FeatureReader
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface FeatureReader
next
public Feature next()
- Specified by:
next
in interface FeatureReader
Copyright © 2011 hibernatespatial.org. All Rights Reserved.