nl.idgis.giserver
Class DataSetLayer

java.lang.Object
  extended by nl.idgis.giserver.Layer
      extended by nl.idgis.giserver.DataSetLayer

public class DataSetLayer
extends Layer

Registration class for layer characteristics. This class extends the basic layer class for the characteristics which are

Author:
bretelerjj

Constructor Summary
DataSetLayer(org.w3c.dom.Node layerRoot, LocalWFSClient localFeatureServiceClient, GiServerConfiguration giServerConfiguration)
          DataSetLayer constructor.
 
Method Summary
 void fetchLayerConstraintAndUserStyles()
          Fetch for this layer : - layer feature constraint(s) - users style
 org.deegree.model.spatialschema.Envelope getEnvelope(java.lang.String targetCRS)
           
 FeatureServiceClient getFeatureServiceClient()
          Return the registered serving feature client associated with this layer.
 org.deegree.graphics.sld.FeatureTypeStyle getFeatureStyle()
           
 org.deegree.model.filterencoding.Filter getFeatureTypeConstraintFilter()
           
 org.deegree.datatypes.QualifiedName getFeatureTypeName()
           
 java.lang.String getGeoFieldName()
          Extract the served geo type for this layer.
 java.lang.String getIdPrefix()
          Extract the using feature Id prefix for feature instances associated by this data set layer.
 org.deegree.datatypes.QualifiedName getMapTipProperty()
           
 org.deegree.datatypes.QualifiedName getPropertyDenominator()
           
 org.deegree.datatypes.QualifiedName getPropertyDenominatorKey()
           
 RuleFactory getRuleFactory()
           
 java.net.URI getSRS()
           
 org.deegree.ogcwebservices.wfs.capabilities.WFSFeatureType getWFSFeatureType()
          Extract the feature type associate with this data set layer
 boolean isCalculateBBox()
           
 boolean isDynamicSegmentation()
           
 boolean isStaticGeometry()
           
 void setCalculateBBox(boolean calculateBBox)
           
 void setDynamicSegmentation(boolean dynamicSegmentation)
           
 void setFeatureTypeName()
          Abstract the feature Type name.
 void setPropertyDenominator(org.deegree.datatypes.QualifiedName propertyDenominator)
           
 void setPropertyDenominatorKey(org.deegree.datatypes.QualifiedName propertyDenominatorKey)
           
 void setRuleFactory(RuleFactory ruleFactory)
           
 void setStaticGeometry(boolean staticGeometry)
           
 void setWFSFeatureType()
          Register the features type which will be associated with this data set layer.
 
Methods inherited from class nl.idgis.giserver.Layer
addServedCapabilities, getEnvWGS84, getName, isInError, setInError, transformEnvelope
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSetLayer

public DataSetLayer(org.w3c.dom.Node layerRoot,
                    LocalWFSClient localFeatureServiceClient,
                    GiServerConfiguration giServerConfiguration)
DataSetLayer constructor. The offered dom tree with conversion info for this layer will be traverse.

Parameters:
layerRoot - configuration info this layer
localFeatureServiceClient - local client who served the info indicated by this layer.
giServerConfiguration - the server configuration register.
Method Detail

fetchLayerConstraintAndUserStyles

public void fetchLayerConstraintAndUserStyles()
                                       throws java.lang.Exception
Fetch for this layer :

- layer feature constraint(s)

- users style

Throws:
java.lang.Exception

setFeatureTypeName

public void setFeatureTypeName()
                        throws java.lang.Exception
Abstract the feature Type name. This is the name from the feature associated with this layer living in this server domain. The knowledge domain is the sld / user layers constraint.

Throws:
java.lang.Exception

setWFSFeatureType

public void setWFSFeatureType()
                       throws java.lang.Exception
Register the features type which will be associated with this data set layer.

Throws:
java.lang.Exception

getWFSFeatureType

public org.deegree.ogcwebservices.wfs.capabilities.WFSFeatureType getWFSFeatureType()
Extract the feature type associate with this data set layer

Returns:

getIdPrefix

public java.lang.String getIdPrefix()
Extract the using feature Id prefix for feature instances associated by this data set layer.

Returns:
the feature instance Id prefix.

getFeatureTypeConstraintFilter

public org.deegree.model.filterencoding.Filter getFeatureTypeConstraintFilter()
                                                                       throws java.lang.Exception
Throws:
java.lang.Exception

getGeoFieldName

public java.lang.String getGeoFieldName()
                                 throws java.io.IOException
Extract the served geo type for this layer.

Returns:
the serving geo type by this layer.
Throws:
java.io.IOException

getEnvelope

public org.deegree.model.spatialschema.Envelope getEnvelope(java.lang.String targetCRS)
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

getSRS

public java.net.URI getSRS()

getFeatureTypeName

public org.deegree.datatypes.QualifiedName getFeatureTypeName()

getMapTipProperty

public org.deegree.datatypes.QualifiedName getMapTipProperty()

isStaticGeometry

public boolean isStaticGeometry()

setStaticGeometry

public void setStaticGeometry(boolean staticGeometry)

getRuleFactory

public RuleFactory getRuleFactory()

setRuleFactory

public void setRuleFactory(RuleFactory ruleFactory)

isDynamicSegmentation

public boolean isDynamicSegmentation()

setDynamicSegmentation

public void setDynamicSegmentation(boolean dynamicSegmentation)

getPropertyDenominator

public org.deegree.datatypes.QualifiedName getPropertyDenominator()

setPropertyDenominator

public void setPropertyDenominator(org.deegree.datatypes.QualifiedName propertyDenominator)

getPropertyDenominatorKey

public org.deegree.datatypes.QualifiedName getPropertyDenominatorKey()

setPropertyDenominatorKey

public void setPropertyDenominatorKey(org.deegree.datatypes.QualifiedName propertyDenominatorKey)

isCalculateBBox

public boolean isCalculateBBox()

setCalculateBBox

public void setCalculateBBox(boolean calculateBBox)

getFeatureServiceClient

public FeatureServiceClient getFeatureServiceClient()
Return the registered serving feature client associated with this layer.

Returns:
serving feature client class instance.

getFeatureStyle

public org.deegree.graphics.sld.FeatureTypeStyle getFeatureStyle()