deegree 2.5 (2011/06/29 09:44 build-8-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 java.lang.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: 25849 $ $Date: 2010-08-11 17:51:26 +0200 (Mi, 11 Aug 2010) $
Author:
Katharina Lupp

Constructor Summary
Geometry(PropertyPath propertyPath, Geometry geometry)
           
 
Method Summary
 java.lang.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 java.lang.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.5 (2011/06/29 09:44 build-8-official)

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