org.deegree_impl.services.wfs.mysql
Class CDescribeFeatureType

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.deegree_impl.services.wfs.WFSMainLoop
          extended byorg.deegree_impl.services.wfs.AbstractDescribeFeatureType
              extended byorg.deegree_impl.services.wfs.mysql.CDescribeFeatureType
All Implemented Interfaces:
java.lang.Runnable

class CDescribeFeatureType
extends AbstractDescribeFeatureType

class defining the processing of a DescribeFeatureType request


Field Summary
private  DatastoreConfiguration config
           
private  DBConnectionPool pool
           
 
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
CDescribeFeatureType(MySQLDataStore parent, OGCWebServiceRequest request)
           
 
Method Summary
protected  org.w3c.dom.Document createSchema(java.lang.String featureType)
          creates a xml schema definition of the submitted feature type on the fly
private  java.lang.String getOwner(java.lang.String featureType)
          returns the owner (first part) of the feature type name
private  java.lang.String getTableName(java.lang.String featureType)
          returns the table name (second part) of the feature type name
private  java.lang.String getType(java.lang.String oType)
           
private  org.w3c.dom.Document tableToSchema(java.lang.String featureType, Table table)
           
 
Methods inherited from class org.deegree_impl.services.wfs.AbstractDescribeFeatureType
performRequest
 
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
 

Field Detail

config

private DatastoreConfiguration config

pool

private DBConnectionPool pool
Constructor Detail

CDescribeFeatureType

public CDescribeFeatureType(MySQLDataStore parent,
                            OGCWebServiceRequest request)
Method Detail

createSchema

protected org.w3c.dom.Document createSchema(java.lang.String featureType)
                                     throws java.lang.Exception
creates a xml schema definition of the submitted feature type on the fly

Specified by:
createSchema in class AbstractDescribeFeatureType
Throws:
java.lang.Exception

getOwner

private java.lang.String getOwner(java.lang.String featureType)
returns the owner (first part) of the feature type name


getTableName

private java.lang.String getTableName(java.lang.String featureType)
returns the table name (second part) of the feature type name


tableToSchema

private org.w3c.dom.Document tableToSchema(java.lang.String featureType,
                                           Table table)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getType

private java.lang.String getType(java.lang.String oType)