org.deegree_impl.graphics.sld
Class GraphicFill_Impl

java.lang.Object
  extended byorg.deegree_impl.graphics.sld.GraphicFill_Impl
All Implemented Interfaces:
GraphicFill, Marshallable

public class GraphicFill_Impl
extends java.lang.Object
implements GraphicFill, Marshallable

The GraphicFill element both indicates that a stipple-fill repeated graphic will be used and specifies the fill graphic.

A graphic can be defined very informally as a little picture. The appearance of the graphic is defined with the embedded Graphic element. Additional parameters for the GraphicFill may be provided in the future to provide more control the exact style of filling.

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

Version:
$Revision: 1.5 $ $Date: 2004/01/12 14:48:41 $
Author:
Katharina Lupp

Field Summary
private  Graphic graphic
           
 
Constructor Summary
(package private) GraphicFill_Impl()
          default constructor
(package private) GraphicFill_Impl(Graphic graphic)
          constructor initializing the class with the
 
Method Summary
 java.lang.String exportAsXML()
          exports the content of the GraphicFill as XML formated String
 Graphic getGraphic()
          A Graphic is a graphic symbol with an inherent shape, color(s), and possibly size.
 void setGraphic(Graphic graphic)
          sets
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

graphic

private Graphic graphic
Constructor Detail

GraphicFill_Impl

GraphicFill_Impl()
default constructor


GraphicFill_Impl

GraphicFill_Impl(Graphic graphic)
constructor initializing the class with the

Method Detail

getGraphic

public Graphic getGraphic()
A Graphic is a graphic symbol with an inherent shape, color(s), and possibly size. A graphic can be very informally defined as a little picture and can be of either a raster or vector-graphic source type. The term graphic is used since the term symbol is similar to symbolizer which is used in a different context in SLD.

Specified by:
getGraphic in interface GraphicFill
Returns:
graphic

setGraphic

public void setGraphic(Graphic graphic)
sets

Specified by:
setGraphic in interface GraphicFill
Parameters:
graphic -

exportAsXML

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

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