org.geotools.data.wms
Class SimpleLayer

Object
  extended by SimpleLayer

public class SimpleLayer
extends Object

A simple bean that represents a layer name paired with a style name for use in requests.

Author:
Richard Gould, Refractions Research Inc.

Constructor Summary
SimpleLayer(String name, Set validStyles)
          SimpleLayer creation.
SimpleLayer(String name, String style)
          SimpleLayer creation.
 
Method Summary
 String getName()
           
 String getStyle()
           
 Set getValidStyles()
          Returns a Set of type String containing the names of all the styles that are valid for this layer.
 void setName(String name)
           
 void setStyle(String style)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleLayer

public SimpleLayer(String name,
                   String style)
SimpleLayer creation.

Parameters:
name - Name of layer
style - Name of style, null indicates default.

SimpleLayer

public SimpleLayer(String name,
                   Set validStyles)
SimpleLayer creation.

Parameters:
name -
validStyles -
Method Detail

getName

public String getName()

setName

public void setName(String name)

getStyle

public String getStyle()

setStyle

public void setStyle(String style)

getValidStyles

public Set getValidStyles()
Returns a Set of type String containing the names of all the styles that are valid for this layer.



Copyright © 1996-2014 Geotools. All Rights Reserved.