deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.graphics.sld
Class Geometry

java.lang.Object
  extended by org.deegree.graphics.sld.Geometry
All Implemented Interfaces:
Marshallable

public class Geometry
extends Object
implements Marshallable

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: 18195 $ $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Katharina Lupp

Constructor Summary
Geometry(PropertyPath propertyPath, Geometry geometry)
           
 
Method Summary
 String exportAsXML()
          exports the content of the Geometry as XML formated String
 Geometry getGeometry()
          In principle, a fixed geometry could be defined using GML or operators could be defined for computing a geometry from references or literals.
 PropertyPath getPropertyPath()
          returns xpath information of the geometry property
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Geometry

public Geometry(PropertyPath propertyPath,
                Geometry geometry)
Parameters:
propertyPath -
geometry -
Method Detail

getPropertyPath

public PropertyPath getPropertyPath()
returns xpath information of the geometry property

Returns:
xpath information of the geometry property

getGeometry

public Geometry getGeometry()
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 Geometry

exportAsXML

public String exportAsXML()
exports the content of the Geometry as XML formated String

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

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org