org.geotools.data.wms
Class WMSUtils

java.lang.Object
  extended byorg.geotools.data.wms.WMSUtils

public class WMSUtils
extends java.lang.Object

Provides miscellaneous utility methods for use with WMSs.

Author:
Richard Gould

Constructor Summary
WMSUtils()
           
 
Method Summary
static Layer[] getNamedLayers(WMSCapabilities capabilities)
          Utility method to return each layer that has a name.
static java.util.Set getQueryableLayers(WMSCapabilities capabilities)
           
static java.util.Set getSRSs(WMSCapabilities capabilities)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMSUtils

public WMSUtils()
Method Detail

getNamedLayers

public static Layer[] getNamedLayers(WMSCapabilities capabilities)
Utility method to return each layer that has a name. This method maintains no hierarchy at all.

Returns:
An array of Layers, each value has a it's name property set or an empty array if there are none. It will return null if there is no capabilities document

getQueryableLayers

public static java.util.Set getQueryableLayers(WMSCapabilities capabilities)

getSRSs

public static java.util.Set getSRSs(WMSCapabilities capabilities)


Copyright © GeoTools. All Rights Reserved.