deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.feature.persistence.postgis
Class PostGISFeatureMapping

java.lang.Object
  extended by org.deegree.feature.persistence.postgis.PostGISFeatureMapping
All Implemented Interfaces:
PostGISMapping

 class PostGISFeatureMapping
extends Object
implements PostGISMapping

PostGISMapping for the PostGISFeatureStore.

Version:
$Revision: 22311 $, $Date: 2010-01-29 17:20:15 +0100 (Fr, 29 Jan 2010) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
PostGISFeatureMapping(FeatureType ft, FeatureTypeMapping ftMapping, PostGISFeatureStore fs)
           
 
Method Summary
 PropertyNameMapping getMapping(PropertyName propName)
          Returns the PropertyNameMapping for the given PropertyName.
 byte[] getPostGISValue(Geometry literal, PropertyName propName)
          Returns the WKB for the given Geometry, transformed to the CRS of the specified PropertyName, if necessary.
 Object getPostGISValue(Literal literal, PropertyName propName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostGISFeatureMapping

PostGISFeatureMapping(FeatureType ft,
                      FeatureTypeMapping ftMapping,
                      PostGISFeatureStore fs)
Method Detail

getMapping

public PropertyNameMapping getMapping(PropertyName propName)
                               throws FilterEvaluationException
Description copied from interface: PostGISMapping
Returns the PropertyNameMapping for the given PropertyName.

Specified by:
getMapping in interface PostGISMapping
Parameters:
propName - property name (from Filter/sort criterion}, can be null (indicates that the default geometry property of the root object is requested)
Returns:
relational mapping, may be null (if no mapping is possible)
Throws:
FilterEvaluationException - thrown to indicate that the PropertyName is invalid

getPostGISValue

public Object getPostGISValue(Literal literal,
                              PropertyName propName)
                       throws FilterEvaluationException
Specified by:
getPostGISValue in interface PostGISMapping
Returns:
Throws:
FilterEvaluationException

getPostGISValue

public byte[] getPostGISValue(Geometry literal,
                              PropertyName propName)
                       throws FilterEvaluationException
Description copied from interface: PostGISMapping
Returns the WKB for the given Geometry, transformed to the CRS of the specified PropertyName, if necessary.

Specified by:
getPostGISValue in interface PostGISMapping
Returns:
Throws:
FilterEvaluationException

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>