org.deegree_impl.services.wfs.shape
Class ShapeDataStore.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.shape.ShapeDataStore.CGetFeature
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
ShapeDataStore

private class ShapeDataStore.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
ShapeDataStore.CGetFeature(ShapeDataStore parent, OGCWebServiceRequest request)
          Creates a new CGetFeature object.
 
Method Summary
private  Feature[] getFeatures(java.lang.String typeName, Filter filter, 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

ShapeDataStore.CGetFeature

public ShapeDataStore.CGetFeature(ShapeDataStore parent,
                                  OGCWebServiceRequest request)
Creates a new CGetFeature object.

Parameters:
parent -
request -
Method Detail

performRequest

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

getFeatures

private Feature[] getFeatures(java.lang.String typeName,
                              Filter filter,
                              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:
typeName - name of the FeatureType
filter -
startPosition -
maxFeatures -
Returns:
Throws:
java.lang.Exception