org.deegree_impl.graphics.sld
Class NamedStyle_Impl

java.lang.Object
  extended byorg.deegree_impl.graphics.sld.Style_Impl
      extended byorg.deegree_impl.graphics.sld.NamedStyle_Impl
All Implemented Interfaces:
Marshallable, NamedStyle, Style

class NamedStyle_Impl
extends Style_Impl
implements NamedStyle, Marshallable

A NamedStyle uses the "name" attribute to identify a style known to the WMS

----------------------------------------------------------------------

Version:
$Revision: 1.5 $ $Date: 2004/01/03 13:46:45 $
Author:
Andreas Poth

Field Summary
protected  java.lang.String name
           
 
Constructor Summary
(package private) NamedStyle_Impl(java.lang.String name)
          Creates a new NamedStyle_Impl object.
 
Method Summary
 java.lang.String exportAsXML()
          exports the content of the NamedStyle as XML formated String
 java.lang.String getName()
          The given Name is equivalent to the name of a WMS named style and is used to reference the style externally when an SLD is used in library mode and identifies the named style to redefine when an SLD is inserted into a WMS.
 void setName(java.lang.String name)
          Sets the name attribute's value of the Style.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.deegree.graphics.sld.Style
getName, setName
 

Field Detail

name

protected java.lang.String name
Constructor Detail

NamedStyle_Impl

NamedStyle_Impl(java.lang.String name)
Creates a new NamedStyle_Impl object.

Parameters:
name -
Method Detail

exportAsXML

public java.lang.String exportAsXML()
exports the content of the NamedStyle as XML formated String

Specified by:
exportAsXML in interface Marshallable
Returns:
xml representation of the NamedStyle

getName

public java.lang.String getName()
The given Name is equivalent to the name of a WMS named style and is used to reference the style externally when an SLD is used in library mode and identifies the named style to redefine when an SLD is inserted into a WMS.

Specified by:
getName in interface Style
Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name attribute's value of the Style.

Specified by:
setName in interface Style
Parameters:
name - the name of the style