org.geotools.styling
Class NamedStyleImpl

java.lang.Object
  extended byorg.geotools.event.AbstractGTComponent
      extended byorg.geotools.styling.NamedStyleImpl
All Implemented Interfaces:
GTComponent, NamedStyle, Style

public class NamedStyleImpl
extends AbstractGTComponent
implements NamedStyle

A NamedStyle is used to refer to a style that has a name in a WMS.

A NamedStyle is a Style that has only Name, so all setters other than setName will throw an UnsupportedOperationException

Author:
jamesm

Field Summary
 
Fields inherited from class org.geotools.event.AbstractGTComponent
notification
 
Constructor Summary
NamedStyleImpl()
           
 
Method Summary
 void accept(StyleVisitor visitor)
          DOCUMENT ME!
 void addFeatureTypeStyle(FeatureTypeStyle type)
          DOCUMENT ME!
 java.lang.String getAbstract()
          DOCUMENT ME!
 FeatureTypeStyle[] getFeatureTypeStyles()
          DOCUMENT ME!
 java.lang.String getName()
          DOCUMENT ME!
 java.lang.String getTitle()
          DOCUMENT ME!
 boolean isDefault()
          DOCUMENT ME!
 void setAbstract(java.lang.String abstractStr)
          DOCUMENT ME!
 void setDefault(boolean isDefault)
          DOCUMENT ME!
 void setFeatureTypeStyles(FeatureTypeStyle[] types)
          DOCUMENT ME!
 void setName(java.lang.String name)
          DOCUMENT ME!
 void setTitle(java.lang.String title)
          DOCUMENT ME!
 
Methods inherited from class org.geotools.event.AbstractGTComponent
changed, clone, fireChanged, fireChildChanged, getNote, getParent, removed, setNote
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.geotools.event.GTComponent
changed, getNote, getParent, removed, setNote
 

Constructor Detail

NamedStyleImpl

public NamedStyleImpl()
Method Detail

getName

public java.lang.String getName()
DOCUMENT ME!

Specified by:
getName in interface NamedStyle
Returns:
DOCUMENT ME!

setName

public void setName(java.lang.String name)
DOCUMENT ME!

Specified by:
setName in interface NamedStyle
Parameters:
name - DOCUMENT ME!

getTitle

public java.lang.String getTitle()
DOCUMENT ME!

Specified by:
getTitle in interface NamedStyle
Returns:
DOCUMENT ME!

setTitle

public void setTitle(java.lang.String title)
DOCUMENT ME!

Specified by:
setTitle in interface NamedStyle
Parameters:
title - DOCUMENT ME!
Throws:
java.lang.UnsupportedOperationException - DOCUMENT ME!

getAbstract

public java.lang.String getAbstract()
DOCUMENT ME!

Specified by:
getAbstract in interface NamedStyle
Returns:
DOCUMENT ME!

setAbstract

public void setAbstract(java.lang.String abstractStr)
DOCUMENT ME!

Specified by:
setAbstract in interface NamedStyle
Parameters:
abstractStr - DOCUMENT ME!
Throws:
java.lang.UnsupportedOperationException - DOCUMENT ME!

isDefault

public boolean isDefault()
DOCUMENT ME!

Specified by:
isDefault in interface NamedStyle
Returns:
DOCUMENT ME!

setDefault

public void setDefault(boolean isDefault)
DOCUMENT ME!

Specified by:
setDefault in interface NamedStyle
Parameters:
isDefault - DOCUMENT ME!
Throws:
java.lang.UnsupportedOperationException - DOCUMENT ME!

getFeatureTypeStyles

public FeatureTypeStyle[] getFeatureTypeStyles()
DOCUMENT ME!

Specified by:
getFeatureTypeStyles in interface NamedStyle
Returns:
DOCUMENT ME!

setFeatureTypeStyles

public void setFeatureTypeStyles(FeatureTypeStyle[] types)
DOCUMENT ME!

Specified by:
setFeatureTypeStyles in interface NamedStyle
Parameters:
types - DOCUMENT ME!
Throws:
java.lang.UnsupportedOperationException - DOCUMENT ME!

addFeatureTypeStyle

public void addFeatureTypeStyle(FeatureTypeStyle type)
DOCUMENT ME!

Specified by:
addFeatureTypeStyle in interface NamedStyle
Parameters:
type - DOCUMENT ME!
Throws:
java.lang.UnsupportedOperationException - DOCUMENT ME!

accept

public void accept(StyleVisitor visitor)
DOCUMENT ME!

Specified by:
accept in interface NamedStyle
Parameters:
visitor - DOCUMENT ME!


Copyright © GeoTools. All Rights Reserved.