org.geotools.styling
Interface NamedStyle

All Superinterfaces:
GTComponent, Style
All Known Implementing Classes:
NamedStyleImpl

public interface NamedStyle
extends Style

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

The details of this object are taken from the OGC Styled-Layer Descriptor Report (OGC 02-070) version 1.0.0.:

 <xsd:element name="NamedStyle">
   <xsd:annotation>
     <xsd:documentation>
       A NamedStyle is used to refer to a style that has a name in a WMS.
     </xsd:documentation>
   </xsd:annotation>
   <xsd:complexType>
     <xsd:sequence>
       <xsd:element ref="sld:Name"/>
     </xsd:sequence>
   </xsd:complexType>
 </xsd:element>
 

Author:
James Macgill

Method Summary
 void accept(StyleVisitor visitor)
          Used to navigate Style information during portrayal.
 void addFeatureTypeStyle(FeatureTypeStyle type)
          Deprecated. Not supported
 java.lang.String getAbstract()
          Deprecated. Not supported
 FeatureTypeStyle[] getFeatureTypeStyles()
          Deprecated. Not supported
 java.lang.String getName()
          Style name (machine readable, don't show to users)
 java.lang.String getTitle()
          Deprecated. Not supported
 boolean isDefault()
          Deprecated. Not supported
 void setAbstract(java.lang.String abstractStr)
          Deprecated. Not supported
 void setDefault(boolean isDefault)
          Deprecated. Not supported
 void setFeatureTypeStyles(FeatureTypeStyle[] types)
          Deprecated. Not supported
 void setName(java.lang.String name)
           
 void setTitle(java.lang.String title)
          Deprecated. Not supported
 
Methods inherited from interface org.geotools.event.GTComponent
changed, getNote, getParent, removed, setNote
 

Method Detail

getName

public java.lang.String getName()
Description copied from interface: Style
Style name (machine readable, don't show to users)

Specified by:
getName in interface Style

setName

public void setName(java.lang.String name)
Specified by:
setName in interface Style

getTitle

public java.lang.String getTitle()
Deprecated. Not supported

DOCUMENT ME!

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

setTitle

public void setTitle(java.lang.String title)
Deprecated. Not supported

DOCUMENT ME!

Specified by:
setTitle in interface Style
Parameters:
title - DOCUMENT ME!

getAbstract

public java.lang.String getAbstract()
Deprecated. Not supported

DOCUMENT ME!

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

setAbstract

public void setAbstract(java.lang.String abstractStr)
Deprecated. Not supported

DOCUMENT ME!

Specified by:
setAbstract in interface Style
Parameters:
abstractStr - DOCUMENT ME!

isDefault

public boolean isDefault()
Deprecated. Not supported

DOCUMENT ME!

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

setDefault

public void setDefault(boolean isDefault)
Deprecated. Not supported

DOCUMENT ME!

Specified by:
setDefault in interface Style
Parameters:
isDefault - DOCUMENT ME!

getFeatureTypeStyles

public FeatureTypeStyle[] getFeatureTypeStyles()
Deprecated. Not supported

DOCUMENT ME!

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

setFeatureTypeStyles

public void setFeatureTypeStyles(FeatureTypeStyle[] types)
Deprecated. Not supported

DOCUMENT ME!

Specified by:
setFeatureTypeStyles in interface Style
Parameters:
types - DOCUMENT ME!

addFeatureTypeStyle

public void addFeatureTypeStyle(FeatureTypeStyle type)
Deprecated. Not supported

DOCUMENT ME!

Specified by:
addFeatureTypeStyle in interface Style
Parameters:
type - DOCUMENT ME!

accept

public void accept(StyleVisitor visitor)
Description copied from interface: Style
Used to navigate Style information during portrayal.

Specified by:
accept in interface Style
Parameters:
visitor -


Copyright © GeoTools. All Rights Reserved.