nl.idgis.giserver
Class Layer

java.lang.Object
  extended by nl.idgis.giserver.Layer
Direct Known Subclasses:
CoverageLayer, DataSetLayer

public abstract class Layer
extends java.lang.Object


Constructor Summary
Layer(org.w3c.dom.Node layerRoot, GiServerConfiguration giServerConfiguration)
          create layer
 
Method Summary
 void addServedCapabilities(org.w3c.dom.Document document, org.w3c.dom.Node layersHome)
          Add the layers contributes for the giserver capabilities.
 org.deegree.model.spatialschema.Envelope getEnvWGS84()
          return the layers envelope in WGS84 CRS.
 java.lang.String getName()
           
 boolean isInError()
           
 void setInError(boolean inError)
           
static org.deegree.model.spatialschema.Envelope transformEnvelope(org.deegree.model.spatialschema.Envelope sourceEnvelope, java.lang.String targetCRS)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Layer

public Layer(org.w3c.dom.Node layerRoot,
             GiServerConfiguration giServerConfiguration)
create layer

Parameters:
layerRoot - configuration info this layer
Method Detail

isInError

public boolean isInError()

setInError

public void setInError(boolean inError)

getName

public java.lang.String getName()

transformEnvelope

public static org.deegree.model.spatialschema.Envelope transformEnvelope(org.deegree.model.spatialschema.Envelope sourceEnvelope,
                                                                         java.lang.String targetCRS)
                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

addServedCapabilities

public void addServedCapabilities(org.w3c.dom.Document document,
                                  org.w3c.dom.Node layersHome)
Add the layers contributes for the giserver capabilities.

Parameters:
document - base
layersHome - node to add the layers

getEnvWGS84

public org.deegree.model.spatialschema.Envelope getEnvWGS84()
return the layers envelope in WGS84 CRS.

Returns:
the envelope