org.deegree.services.wms.model.layers
Class EmptyLayer

java.lang.Object
  extended by org.deegree.services.wms.model.layers.Layer
      extended by org.deegree.services.wms.model.layers.EmptyLayer

public class EmptyLayer
extends Layer

EmptyLayer

Version:
$Revision: 25736 $, $Date: 2010-08-09 13:04:48 +0200 (Mo, 09. Aug 2010) $
Author:
Andreas Schmitz, last edited by: $Author: mschneider $

Constructor Summary
EmptyLayer(AbstractLayerType layer, Layer parent)
           
EmptyLayer(java.lang.String name, java.lang.String title, Layer parent)
           
 
Method Summary
 org.deegree.commons.utils.Pair<org.deegree.feature.FeatureCollection,java.util.LinkedList<java.lang.String>> getFeatures(GetFeatureInfo fi, org.deegree.rendering.r2d.se.unevaluated.Style style)
           
 org.deegree.feature.types.FeatureType getFeatureType()
           
 java.util.LinkedList<java.lang.String> paintMap(java.awt.Graphics2D g, GetMap gm, org.deegree.rendering.r2d.se.unevaluated.Style style)
           
 java.lang.String toString()
           
 
Methods inherited from class org.deegree.services.wms.model.layers.Layer
addOrReplace, close, getAbstract, getBbox, getChild, getChildren, getDimensions, getInternalName, getKeywords, getName, getParent, getScaleHint, getSrs, getTitle, isAvailable, isQueryable, paintMap, remove, render, setAbstract, setBbox, setChildren, setInternalName, setKeywords, setName, setParent, setScaleHint, setSrs, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmptyLayer

public EmptyLayer(java.lang.String name,
                  java.lang.String title,
                  Layer parent)
Parameters:
name -
title -
parent -

EmptyLayer

public EmptyLayer(AbstractLayerType layer,
                  Layer parent)
Parameters:
layer -
parent -
Method Detail

paintMap

public java.util.LinkedList<java.lang.String> paintMap(java.awt.Graphics2D g,
                                                       GetMap gm,
                                                       org.deegree.rendering.r2d.se.unevaluated.Style style)
Specified by:
paintMap in class Layer
Returns:
a list of warning headers (currently only used for dimension warnings)

getFeatures

public org.deegree.commons.utils.Pair<org.deegree.feature.FeatureCollection,java.util.LinkedList<java.lang.String>> getFeatures(GetFeatureInfo fi,
                                                                                                                                org.deegree.rendering.r2d.se.unevaluated.Style style)
Specified by:
getFeatures in class Layer
Returns:
a collection of matching features and a list of warning headers (currently only used for dimension warnings)

getFeatureType

public org.deegree.feature.types.FeatureType getFeatureType()
Specified by:
getFeatureType in class Layer
Returns:
the feature type, or null, if not applicable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.