org.deegree_impl.services.wfs.mapinfo
Class MapInfoDataStore.CGetFeature

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.deegree_impl.services.wfs.WFSMainLoop
          extended byorg.deegree_impl.services.wfs.AbstractGetFeature
              extended byorg.deegree_impl.services.wfs.mapinfo.MapInfoDataStore.CGetFeature
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
MapInfoDataStore

private class MapInfoDataStore.CGetFeature
extends AbstractGetFeature

inner interface defining the processing of a getFeature request


Field Summary
 
Fields inherited from class org.deegree_impl.services.wfs.AbstractGetFeature
config
 
Fields inherited from class org.deegree_impl.services.wfs.WFSMainLoop
parent, request
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MapInfoDataStore.CGetFeature(MapInfoDataStore parent, OGCWebServiceRequest request)
           
 
Method Summary
private  Feature[] getFeatures(WFSQuery query, int startPosition, int maxFeatures)
          Collects the Features from the shape file that match the given Filter.
protected  OGCWebServiceResponse[] performRequest(OGCWebServiceRequest request)
           
 
Methods inherited from class org.deegree_impl.services.wfs.AbstractGetFeature
createResponse, getAffectedFeatureTypes, getAffectedFields
 
Methods inherited from class org.deegree_impl.services.wfs.WFSMainLoop
run
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapInfoDataStore.CGetFeature

public MapInfoDataStore.CGetFeature(MapInfoDataStore parent,
                                    OGCWebServiceRequest request)
Method Detail

performRequest

protected OGCWebServiceResponse[] performRequest(OGCWebServiceRequest request)
Specified by:
performRequest in class WFSMainLoop
Parameters:
request -
Returns:

getFeatures

private Feature[] getFeatures(WFSQuery query,
                              int startPosition,
                              int maxFeatures)
                       throws java.lang.Exception
Collects the Features from the shape file that match the given Filter.

To make use of the indexing of the shapefile, the Filter is examined and if a BBOX-Operation is found it is used on the index of the shapefile.

Parameters:
query - query object to limit the amount of returned features
startPosition -
maxFeatures -
Returns:
Throws:
java.lang.Exception