org.hibernatespatial.readers
Class BasicFeatureReader

java.lang.Object
  extended by 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)
           
 
Method Summary
 void close()
           
 boolean hasNext()
           
 Feature next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicFeatureReader

public BasicFeatureReader(Class entityClass,
                          org.hibernate.SessionFactory sf,
                          com.vividsolutions.jts.geom.Geometry filterGeom,
                          String attributeFilter)
                   throws FinderException
Throws:
FinderException
Method Detail

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.