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: 31688 $, $Date: 2011-08-30 15:05:12 +0200 (Tue, 30 Aug 2011) $
Author:
Andreas Schmitz, last edited by: $Author: mschneider $

Field Summary
 
Fields inherited from class org.deegree.services.wms.model.layers.Layer
service
 
Constructor Summary
EmptyLayer(MapService service, AbstractLayerType layer, Layer parent)
           
EmptyLayer(MapService service, String name, String title, Layer parent)
           
 
Method Summary
 Pair<FeatureCollection,LinkedList<String>> getFeatures(GetFeatureInfo fi, Style style)
           
 FeatureType getFeatureType()
           
 LinkedList<String> paintMap(Graphics2D g, GetMap gm, Style style)
           
 String toString()
           
 
Methods inherited from class org.deegree.services.wms.model.layers.Layer
addOrReplace, close, getAbstract, getAuthorityIdentifier, getAuthorityURL, getBbox, getChild, getChildren, getDataMetadataSetId, getDimensions, getInternalName, getKeywords, getName, getParent, getScaleHint, getSrs, getTitle, isAvailable, isQueryable, paintMap, remove, render, setAbstract, setAuthorityIdentifier, setAuthorityURL, 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(MapService service,
                  String name,
                  String title,
                  Layer parent)
Parameters:
name -
title -
parent -

EmptyLayer

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

paintMap

public LinkedList<String> paintMap(Graphics2D g,
                                   GetMap gm,
                                   Style style)
Specified by:
paintMap in class Layer
Returns:
a list of warning headers (currently only used for dimension warnings)

getFeatures

public Pair<FeatureCollection,LinkedList<String>> getFeatures(GetFeatureInfo fi,
                                                              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 FeatureType getFeatureType()
Specified by:
getFeatureType in class Layer
Returns:
the feature type, or null, if not applicable

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.