org.geotools.data.wms
Class WMSLayerCatalogEntry

java.lang.Object
  extended byorg.geotools.data.wms.WMSLayerCatalogEntry
All Implemented Interfaces:
CatalogEntry

public class WMSLayerCatalogEntry
extends java.lang.Object
implements CatalogEntry


Constructor Summary
WMSLayerCatalogEntry(WebMapServer wms, Layer layer)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDataName()
          Layer name, for display in user interface.
 java.lang.String[] getMetadataNames()
          Names of available metadata.
 WebMapServer getWMS()
          Access to parent WebMapServer
 int hashCode()
          To to base on the same things as equals hascode on wms, layer and metadatas.
 java.util.Map metadata()
          Map of MetadataEntity by name
 java.lang.Object resource()
          Access Layer.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMSLayerCatalogEntry

public WMSLayerCatalogEntry(WebMapServer wms,
                            Layer layer)
Method Detail

resource

public java.lang.Object resource()
Access Layer.

Specified by:
resource in interface CatalogEntry
Returns:
an org.geotools.data.ows.Layer
See Also:
CatalogEntry.resource()

getWMS

public WebMapServer getWMS()
Access to parent WebMapServer


getDataName

public java.lang.String getDataName()
Layer name, for display in user interface.

Specified by:
getDataName in interface CatalogEntry
Returns:
Display name for this Layer

metadata

public java.util.Map metadata()
Map of MetadataEntity by name

Specified by:
metadata in interface CatalogEntry
Returns:
Map of Metadata by name

getMetadataNames

public java.lang.String[] getMetadataNames()
Names of available metadata.

Specified by:
getMetadataNames in interface CatalogEntry
Returns:
names of available metadata

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()
To to base on the same things as equals hascode on wms, layer and metadatas.

Returns:
hasCode of WMSLayerCatalogEntry
See Also:
Object.hashCode()


Copyright © GeoTools. All Rights Reserved.