Package org.geotools.ows.wms
Class WebMapServer.LayerInfo
- Object
-
- LayerInfo
-
- All Implemented Interfaces:
ResourceInfo
- Enclosing class:
- WebMapServer
public class WebMapServer.LayerInfo extends Object implements ResourceInfo
Quickly describe a layer.- Author:
- Jody
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferencedEnvelopegetBounds()Returns the bounds of the resource, expressed in the native coordinate reference system.CoordinateReferenceSystemgetCRS()Returns the coordinate reference system of this resource if known.StringgetDescription()Returns a description or abstract for this resource.IcongetIcon()Set<String>getKeywords()Returns keywords associated with this resource for use with searches etc.StringgetName()Returns the name of this resource within the context of its service.URIgetSchema()A namespace, in the form of aURI, used to identify the resource type.StringgetTitle()Returns the resource's title.
-
-
-
Method Detail
-
getBounds
public ReferencedEnvelope getBounds()
Description copied from interface:ResourceInfoReturns the bounds of the resource, expressed in the native coordinate reference system. IF the bounds are unknown or undefined callingisNull()on the returned envelope will returntrue.- Specified by:
getBoundsin interfaceResourceInfo- Returns:
- bounds of the resource if defined; otherwise an envelope where the
isNull()returnstrue
-
getCRS
public CoordinateReferenceSystem getCRS()
Description copied from interface:ResourceInfoReturns the coordinate reference system of this resource if known.Known Mappings:
- 2nd part of the Dublin Core Coverage
- Shapefile prj file
- WFS SRS
- Specified by:
getCRSin interfaceResourceInfo- Returns:
- CRS of the resource, or
nullif unavailable.
-
getDescription
public String getDescription()
Description copied from interface:ResourceInfoReturns a description or abstract for this resource.Known Mappings:
- WFS GetCapabilities abstract
- WMS GetCapabilities abstract
- Specified by:
getDescriptionin interfaceResourceInfo- Returns:
- description of resource, or
nullif unavailable
-
getIcon
public Icon getIcon()
-
getKeywords
public Set<String> getKeywords()
Description copied from interface:ResourceInfoReturns keywords associated with this resource for use with searches etc.Known Mappings:
- Maps to Dublin Core's Subject element
- Specified by:
getKeywordsin interfaceResourceInfo- Returns:
- Keywords or
nullif unavailable
-
getName
public String getName()
Description copied from interface:ResourceInfoReturns the name of this resource within the context of its service.Known mappings:
- WFS typeName
- Database table name
- WMS layer name
- level of a grid coverage
- Specified by:
getNamein interfaceResourceInfo- Returns:
- name of this resource
-
getSchema
public URI getSchema()
Description copied from interface:ResourceInfoA namespace, in the form of aURI, used to identify the resource type.Known Mappings:
- Dublin Code Format element
- WFS DescribeFeatureType URL
- file.toURI()
- XML namespace
- URL
- Specified by:
getSchemain interfaceResourceInfo- Returns:
- namespace, used with getName() to identify resource type
-
getTitle
public String getTitle()
Description copied from interface:ResourceInfoReturns the resource's title.The title is human readable text representing the resource, in the current locale if available.
- Specified by:
getTitlein interfaceResourceInfo- Returns:
- tile, in the current locale if available.
-
-