org.deegree.gml.geometry
Interface GMLGeometryWriter

All Known Implementing Classes:
GML2GeometryWriter, GML3GeometryWriter

public interface GMLGeometryWriter

Interface that makes the usage of Geometry Encoders simpler, not depending on their version anymore. Any new version of a GML encoder should implement this interface.

Version:
$Revision: 31639 $, $Date: 2011-08-24 21:02:10 +0200 (Wed, 24 Aug 2011) $
Author:
Andrei Ionita, last edited by: $Author: mschneider $

Method Summary
 void export(Geometry geometry)
          Exports a general geometry.
 void exportCompositeCurve(CompositeCurve compositeCurve)
           
 void exportCompositeGeometry(CompositeGeometry<GeometricPrimitive> geometryComplex)
           
 void exportCompositeSolid(CompositeSolid compositeSolid)
           
 void exportCompositeSurface(CompositeSurface compositeSurface)
           
 void exportCurve(Curve curve)
           
 void exportEnvelope(Envelope envelope)
           
 void exportMultiGeometry(MultiGeometry<? extends Geometry> geometry)
           
 void exportPoint(Point point)
           
 void exportReference(GeometryReference<Geometry> geometryRef)
           
 void exportRing(Ring ring)
           
 void exportSolid(Solid solid)
           
 void exportSurface(Surface surface)
           
 void exportTin(Tin tin)
           
 void exportTriangulatedSurface(TriangulatedSurface triangSurface)
           
 

Method Detail

export

void export(Geometry geometry)
            throws XMLStreamException,
                   UnknownCRSException,
                   TransformationException
Exports a general geometry. This is the method to call when there is no information about the geometry (the case switching is done here).

Parameters:
geometry -
Throws:
XMLStreamException
UnknownCRSException
TransformationException

exportCompositeCurve

void exportCompositeCurve(CompositeCurve compositeCurve)
                          throws XMLStreamException,
                                 UnknownCRSException,
                                 TransformationException
Parameters:
compositeCurve -
Throws:
XMLStreamException
UnknownCRSException
TransformationException

exportCompositeGeometry

void exportCompositeGeometry(CompositeGeometry<GeometricPrimitive> geometryComplex)
                             throws XMLStreamException,
                                    UnknownCRSException,
                                    TransformationException
Parameters:
geometryComplex -
Throws:
XMLStreamException
UnknownCRSException
TransformationException

exportCompositeSolid

void exportCompositeSolid(CompositeSolid compositeSolid)
                          throws XMLStreamException,
                                 UnknownCRSException,
                                 TransformationException
Parameters:
compositeSolid -
Throws:
XMLStreamException
UnknownCRSException
TransformationException

exportCompositeSurface

void exportCompositeSurface(CompositeSurface compositeSurface)
                            throws XMLStreamException,
                                   UnknownCRSException,
                                   TransformationException
Parameters:
compositeSurface -
Throws:
XMLStreamException
UnknownCRSException
TransformationException

exportCurve

void exportCurve(Curve curve)
                 throws XMLStreamException,
                        UnknownCRSException,
                        TransformationException
Parameters:
curve -
Throws:
XMLStreamException
UnknownCRSException
TransformationException

exportEnvelope

void exportEnvelope(Envelope envelope)
                    throws XMLStreamException,
                           UnknownCRSException,
                           TransformationException
Parameters:
envelope -
Throws:
XMLStreamException
UnknownCRSException
TransformationException

exportMultiGeometry

void exportMultiGeometry(MultiGeometry<? extends Geometry> geometry)
                         throws XMLStreamException,
                                UnknownCRSException,
                                TransformationException
Parameters:
geometry -
Throws:
XMLStreamException
UnknownCRSException
TransformationException

exportPoint

void exportPoint(Point point)
                 throws XMLStreamException,
                        UnknownCRSException,
                        TransformationException
Parameters:
point -
Throws:
XMLStreamException
UnknownCRSException
TransformationException

exportReference

void exportReference(GeometryReference<Geometry> geometryRef)
                     throws XMLStreamException,
                            UnknownCRSException,
                            TransformationException
Parameters:
geometryRef -
Throws:
XMLStreamException
UnknownCRSException
TransformationException

exportRing

void exportRing(Ring ring)
                throws XMLStreamException,
                       UnknownCRSException,
                       TransformationException
Parameters:
ring -
Throws:
XMLStreamException
UnknownCRSException
TransformationException

exportSolid

void exportSolid(Solid solid)
                 throws XMLStreamException,
                        UnknownCRSException,
                        TransformationException
Parameters:
solid -
Throws:
XMLStreamException
UnknownCRSException
TransformationException

exportSurface

void exportSurface(Surface surface)
                   throws XMLStreamException,
                          UnknownCRSException,
                          TransformationException
Parameters:
surface -
Throws:
XMLStreamException
UnknownCRSException
TransformationException

exportTin

void exportTin(Tin tin)
               throws XMLStreamException,
                      UnknownCRSException,
                      TransformationException
Parameters:
tin -
Throws:
XMLStreamException
UnknownCRSException
TransformationException

exportTriangulatedSurface

void exportTriangulatedSurface(TriangulatedSurface triangSurface)
                               throws XMLStreamException,
                                      UnknownCRSException,
                                      TransformationException
Parameters:
triangSurface -
Throws:
XMLStreamException
UnknownCRSException
TransformationException


Copyright © 2011. All Rights Reserved.