org.geotools.data.wms.gce
Class WMSFormat

java.lang.Object
  extended byorg.geotools.data.wms.gce.WMSFormat
All Implemented Interfaces:
org.opengis.coverage.grid.Format

public class WMSFormat
extends java.lang.Object
implements org.opengis.coverage.grid.Format

GridCoverageExchangeFormat describing Capabilities of a Web Map Server.

Unlike several file system Formats this represents the abilities of a dynamic Server. In addition file formats are often called by client code with the specification of a single URL for processing. WMSFormat will need a series of Layers.

Author:
Richard Gould, Refractions Researach

Constructor Summary
WMSFormat(WMSCapabilities capabilities)
          WMSFormat creation.
 
Method Summary
 boolean accepts(java.lang.Object input)
          Determines if the input can be processed or not.
 java.lang.String getDescription()
           
 java.lang.String getDocURL()
           
 java.lang.String getName()
           
 org.opengis.parameter.ParameterValueGroup getReadParameters()
          Retrive parameter metadata describing parameters required by this Web Map Server.
 java.lang.String getVendor()
           
 java.lang.String getVersion()
           
 org.opengis.parameter.ParameterValueGroup getWriteParameters()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMSFormat

public WMSFormat(WMSCapabilities capabilities)
WMSFormat creation.

Parameters:
capabilities - Parsed Capabilties document from a Web Map Server
Method Detail

accepts

public boolean accepts(java.lang.Object input)
Determines if the input can be processed or not.

Currently it accepts WebMapServers, WMT_MS_Capabilities, and URLs and Strings that point to the WMS's getCapabilities address.

Feedback: this seams a bit crazy?

Parameters:
input - DOCUMENT ME!
Returns:
DOCUMENT ME!

getReadParameters

public org.opengis.parameter.ParameterValueGroup getReadParameters()
Retrive parameter metadata describing parameters required by this Web Map Server.

This information should be specific enough to allow the creation of a user interface.

Specified by:
getReadParameters in interface org.opengis.coverage.grid.Format
Returns:
DOCUMENT ME!

getName

public java.lang.String getName()
Specified by:
getName in interface org.opengis.coverage.grid.Format

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface org.opengis.coverage.grid.Format

getVendor

public java.lang.String getVendor()
Specified by:
getVendor in interface org.opengis.coverage.grid.Format

getDocURL

public java.lang.String getDocURL()
Specified by:
getDocURL in interface org.opengis.coverage.grid.Format

getVersion

public java.lang.String getVersion()
Specified by:
getVersion in interface org.opengis.coverage.grid.Format

getWriteParameters

public org.opengis.parameter.ParameterValueGroup getWriteParameters()
Specified by:
getWriteParameters in interface org.opengis.coverage.grid.Format


Copyright © GeoTools. All Rights Reserved.