org.deegree.graphics.sld
Interface Geometry

All Known Implementing Classes:
Geometry_Impl

public interface Geometry

The Geometry element is optional and if it is absent then the default geometry property of the feature type that is used in the containing FeatureStyleType is used. The precise meaning of default geometry property is system-dependent. Most frequently, feature types will have only a single geometry property.

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

Version:
$Revision: 1.2 $ $Date: 2004/01/12 14:48:13 $
Author:
Andreas Poth

Method Summary
 GMLGeometry getGeometryAsGML()
          In principle, a fixed geometry could be defined using GML or operators could be defined for computing a geometry from references or literals.
 java.lang.String getPropertyName()
          returns the name of the geometry property
 void setGeometryAsGML(GMLGeometry geometry)
          sets the
 void setPropertyName(java.lang.String propertyName)
          sets the name of the geometry property
 

Method Detail

getPropertyName

public java.lang.String getPropertyName()
returns the name of the geometry property

Returns:
the name of the geometry property

setPropertyName

public void setPropertyName(java.lang.String propertyName)
sets the name of the geometry property

Parameters:
propertyName - the name of the geometry property

getGeometryAsGML

public GMLGeometry getGeometryAsGML()
In principle, a fixed geometry could be defined using GML or operators could be defined for computing a geometry from references or literals. This enbales the calling client to submitt the geometry to be rendered by the WMS directly. (This is not part of the SLD XML-schema)

Returns:
the GMLGeometry

setGeometryAsGML

public void setGeometryAsGML(GMLGeometry geometry)
sets the

Parameters:
geometry - the GMLGeometry