org.geotools.styling
Interface StyledLayerDescriptor

All Superinterfaces:
GTComponent
All Known Implementing Classes:
StyledLayerDescriptorImpl

public interface StyledLayerDescriptor
extends GTComponent

Holds styling information (from a StyleLayerDescriptor document).

This interface is bound to version 1.0 of the SLD specification.

For many of us in geotools this is the reason we came along for the ride - a pretty picture. For documentation on the use of this class please consult the SLD 1.0 specification.

We may experiment with our own (or SLD 1.1) ideas but will mark such experiments for you. This is only an issue of you are considering writing out these objects for interoptability with other systems.

General stratagy for supporting multiple SLD versions (and experiments):

Since:
GeoTools 2.0
Version:
SLD 1.0
Author:
Ian Turton, CCG, James Macgill, CCG, Jody Garnett, Refractions Research

Method Summary
 void accept(StyleVisitor visitor)
          Used to navigate a Style/SLD.
 void addListener(GTListener listener)
          Listens to changes in the Style content.
 void addStyledLayer(StyledLayer layer)
           
 java.lang.String getAbstract()
          Getter for property abstractStr.
 java.lang.String getName()
          Getter for property name.
 StyledLayer[] getStyledLayers()
           
 java.lang.String getTitle()
          Getter for property title.
 void removeListener(GTListener listener)
          Remove a style listener
 void setAbstract(java.lang.String abstractStr)
          Setter for property abstractStr.
 void setName(java.lang.String name)
          Setter for property name.
 void setStyledLayers(StyledLayer[] layers)
           
 void setTitle(java.lang.String title)
          Setter for property title.
 
Methods inherited from interface org.geotools.event.GTComponent
changed, getNote, getParent, removed, setNote
 

Method Detail

getStyledLayers

public StyledLayer[] getStyledLayers()

setStyledLayers

public void setStyledLayers(StyledLayer[] layers)

addStyledLayer

public void addStyledLayer(StyledLayer layer)

getName

public java.lang.String getName()
Getter for property name.

Returns:
Value of property name.

setName

public void setName(java.lang.String name)
Setter for property name.

Parameters:
name - New value of property name.

getTitle

public java.lang.String getTitle()
Getter for property title.

Returns:
Value of property title.

setTitle

public void setTitle(java.lang.String title)
Setter for property title.

Parameters:
title - New value of property title.

getAbstract

public java.lang.String getAbstract()
Getter for property abstractStr.

Returns:
Value of property abstractStr.

setAbstract

public void setAbstract(java.lang.String abstractStr)
Setter for property abstractStr.

Parameters:
abstractStr - New value of property abstractStr.

addListener

public void addListener(GTListener listener)
Listens to changes in the Style content.

Changes are provided:

Since the Style data structure can be vast and complicated a trail of breadcrumbs (a delta) is provided to help find your way to the change.

Parameters:
listener -

removeListener

public void removeListener(GTListener listener)
Remove a style listener

Parameters:
listener - DOCUMENT ME!

accept

public void accept(StyleVisitor visitor)
Used to navigate a Style/SLD.

Parameters:
visitor -


Copyright © GeoTools. All Rights Reserved.