Class 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 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.
    • 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.