|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.gml.geometry.GML2GeometryWriter
public class GML2GeometryWriter
Generates GML 2.1 representations from Geometry
objects.
Constructor Summary | |
---|---|
GML2GeometryWriter(XMLStreamWriter writer)
Creates a new GML2GeometryWriter instance. |
|
GML2GeometryWriter(XMLStreamWriter writer,
org.deegree.cs.coordinatesystems.ICRS outputCrs,
org.deegree.geometry.io.CoordinateFormatter formatter,
Set<String> exportedIds)
Creates a new GML2GeometryWriter instance. |
Method Summary | |
---|---|
void |
export(org.deegree.geometry.Geometry geometry)
Exports a general geometry. |
void |
exportCompositeCurve(org.deegree.geometry.composite.CompositeCurve compositeCurve)
|
void |
exportCompositeGeometry(org.deegree.geometry.composite.CompositeGeometry<org.deegree.geometry.primitive.GeometricPrimitive> geometryComplex)
|
void |
exportCompositeSolid(org.deegree.geometry.composite.CompositeSolid compositeSolid)
|
void |
exportCompositeSurface(org.deegree.geometry.composite.CompositeSurface compositeSurface)
|
void |
exportCurve(org.deegree.geometry.primitive.Curve curve)
|
void |
exportEnvelope(org.deegree.geometry.Envelope envelope)
|
void |
exportLinearRing(org.deegree.geometry.primitive.Ring linearRing)
|
void |
exportLineString(org.deegree.geometry.primitive.Curve curve)
|
void |
exportMultiGeometry(org.deegree.geometry.multi.MultiGeometry<? extends org.deegree.geometry.Geometry> multiGeometry)
|
void |
exportMultiLineString(org.deegree.geometry.multi.MultiCurve<org.deegree.geometry.primitive.Curve> multiCurve)
|
void |
exportMultiLineString(org.deegree.geometry.multi.MultiLineString multiLineString)
|
void |
exportMultiPoint(org.deegree.geometry.multi.MultiPoint multiPoint)
|
void |
exportMultiPolygon(org.deegree.geometry.multi.MultiPolygon multiPolygon)
|
void |
exportMultiPolygon(org.deegree.geometry.multi.MultiSurface<org.deegree.geometry.primitive.Surface> multiSurface)
|
void |
exportPoint(org.deegree.geometry.primitive.Point point)
|
void |
exportPolygon(org.deegree.geometry.primitive.Polygon polygon)
|
void |
exportReference(org.deegree.geometry.refs.GeometryReference<org.deegree.geometry.Geometry> geometryRef)
|
void |
exportRing(org.deegree.geometry.primitive.Ring ring)
|
void |
exportSolid(org.deegree.geometry.primitive.Solid solid)
|
void |
exportSurface(org.deegree.geometry.primitive.Surface surface)
|
void |
exportTin(org.deegree.geometry.primitive.Tin tin)
|
void |
exportTriangulatedSurface(org.deegree.geometry.primitive.TriangulatedSurface triangSurface)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GML2GeometryWriter(XMLStreamWriter writer)
GML2GeometryWriter
instance.
writer
- the XMLStreamWriter
that is used to serialize the GML, must not be null
public GML2GeometryWriter(XMLStreamWriter writer, org.deegree.cs.coordinatesystems.ICRS outputCrs, org.deegree.geometry.io.CoordinateFormatter formatter, Set<String> exportedIds)
GML2GeometryWriter
instance.
writer
- the XMLStreamWriter
that is used to serialize the GML, must not be null
outputCrs
- crs used for exported geometries, may be null
(in that case, the crs of the geometries is
used)formatter
- formatter to use for exporting coordinates, e.g. to limit the number of decimal places, may be
null
(use default DecimalCoordinateFormatter
)exportedIds
- may be null
Method Detail |
---|
public void export(org.deegree.geometry.Geometry geometry) throws XMLStreamException, org.deegree.cs.exceptions.TransformationException, org.deegree.cs.exceptions.UnknownCRSException
GMLGeometryWriter
export
in interface GMLGeometryWriter
XMLStreamException
org.deegree.cs.exceptions.TransformationException
org.deegree.cs.exceptions.UnknownCRSException
public void exportPoint(org.deegree.geometry.primitive.Point point) throws XMLStreamException, org.deegree.cs.exceptions.TransformationException, org.deegree.cs.exceptions.UnknownCRSException
exportPoint
in interface GMLGeometryWriter
point
-
XMLStreamException
org.deegree.cs.exceptions.UnknownCRSException
org.deegree.cs.exceptions.TransformationException
public void exportPolygon(org.deegree.geometry.primitive.Polygon polygon) throws XMLStreamException, org.deegree.cs.exceptions.TransformationException, org.deegree.cs.exceptions.UnknownCRSException
polygon
-
XMLStreamException
org.deegree.cs.exceptions.UnknownCRSException
org.deegree.cs.exceptions.TransformationException
public void exportLinearRing(org.deegree.geometry.primitive.Ring linearRing) throws XMLStreamException, org.deegree.cs.exceptions.TransformationException, org.deegree.cs.exceptions.UnknownCRSException
linearRing
-
XMLStreamException
org.deegree.cs.exceptions.UnknownCRSException
org.deegree.cs.exceptions.TransformationException
public void exportLineString(org.deegree.geometry.primitive.Curve curve) throws XMLStreamException, org.deegree.cs.exceptions.TransformationException, org.deegree.cs.exceptions.UnknownCRSException
curve
-
XMLStreamException
org.deegree.cs.exceptions.UnknownCRSException
org.deegree.cs.exceptions.TransformationException
public void exportEnvelope(org.deegree.geometry.Envelope envelope) throws XMLStreamException, org.deegree.cs.exceptions.TransformationException, org.deegree.cs.exceptions.UnknownCRSException
exportEnvelope
in interface GMLGeometryWriter
envelope
-
XMLStreamException
org.deegree.cs.exceptions.UnknownCRSException
org.deegree.cs.exceptions.TransformationException
public void exportMultiGeometry(org.deegree.geometry.multi.MultiGeometry<? extends org.deegree.geometry.Geometry> multiGeometry) throws XMLStreamException, org.deegree.cs.exceptions.TransformationException, org.deegree.cs.exceptions.UnknownCRSException
exportMultiGeometry
in interface GMLGeometryWriter
multiGeometry
-
XMLStreamException
org.deegree.cs.exceptions.UnknownCRSException
org.deegree.cs.exceptions.TransformationException
public void exportMultiPoint(org.deegree.geometry.multi.MultiPoint multiPoint) throws XMLStreamException, org.deegree.cs.exceptions.TransformationException, org.deegree.cs.exceptions.UnknownCRSException
multiPoint
-
XMLStreamException
org.deegree.cs.exceptions.UnknownCRSException
org.deegree.cs.exceptions.TransformationException
public void exportMultiLineString(org.deegree.geometry.multi.MultiLineString multiLineString) throws XMLStreamException, org.deegree.cs.exceptions.TransformationException, org.deegree.cs.exceptions.UnknownCRSException
multiLineString
-
XMLStreamException
org.deegree.cs.exceptions.UnknownCRSException
org.deegree.cs.exceptions.TransformationException
public void exportMultiLineString(org.deegree.geometry.multi.MultiCurve<org.deegree.geometry.primitive.Curve> multiCurve) throws XMLStreamException, org.deegree.cs.exceptions.TransformationException, org.deegree.cs.exceptions.UnknownCRSException
multiCurve
-
XMLStreamException
org.deegree.cs.exceptions.UnknownCRSException
org.deegree.cs.exceptions.TransformationException
public void exportMultiPolygon(org.deegree.geometry.multi.MultiPolygon multiPolygon) throws XMLStreamException, org.deegree.cs.exceptions.TransformationException, org.deegree.cs.exceptions.UnknownCRSException
multiPolygon
-
XMLStreamException
org.deegree.cs.exceptions.UnknownCRSException
org.deegree.cs.exceptions.TransformationException
public void exportMultiPolygon(org.deegree.geometry.multi.MultiSurface<org.deegree.geometry.primitive.Surface> multiSurface) throws XMLStreamException, org.deegree.cs.exceptions.TransformationException, org.deegree.cs.exceptions.UnknownCRSException
multiSurface
-
XMLStreamException
org.deegree.cs.exceptions.UnknownCRSException
org.deegree.cs.exceptions.TransformationException
public void exportCompositeCurve(org.deegree.geometry.composite.CompositeCurve compositeCurve)
exportCompositeCurve
in interface GMLGeometryWriter
public void exportCompositeGeometry(org.deegree.geometry.composite.CompositeGeometry<org.deegree.geometry.primitive.GeometricPrimitive> geometryComplex)
exportCompositeGeometry
in interface GMLGeometryWriter
public void exportCompositeSolid(org.deegree.geometry.composite.CompositeSolid compositeSolid)
exportCompositeSolid
in interface GMLGeometryWriter
public void exportCompositeSurface(org.deegree.geometry.composite.CompositeSurface compositeSurface)
exportCompositeSurface
in interface GMLGeometryWriter
public void exportCurve(org.deegree.geometry.primitive.Curve curve) throws XMLStreamException, org.deegree.cs.exceptions.TransformationException, org.deegree.cs.exceptions.UnknownCRSException
exportCurve
in interface GMLGeometryWriter
XMLStreamException
org.deegree.cs.exceptions.TransformationException
org.deegree.cs.exceptions.UnknownCRSException
public void exportReference(org.deegree.geometry.refs.GeometryReference<org.deegree.geometry.Geometry> geometryRef)
exportReference
in interface GMLGeometryWriter
public void exportRing(org.deegree.geometry.primitive.Ring ring) throws XMLStreamException, org.deegree.cs.exceptions.TransformationException, org.deegree.cs.exceptions.UnknownCRSException
exportRing
in interface GMLGeometryWriter
XMLStreamException
org.deegree.cs.exceptions.TransformationException
org.deegree.cs.exceptions.UnknownCRSException
public void exportSolid(org.deegree.geometry.primitive.Solid solid)
exportSolid
in interface GMLGeometryWriter
public void exportSurface(org.deegree.geometry.primitive.Surface surface) throws XMLStreamException, org.deegree.cs.exceptions.TransformationException, org.deegree.cs.exceptions.UnknownCRSException
exportSurface
in interface GMLGeometryWriter
XMLStreamException
org.deegree.cs.exceptions.TransformationException
org.deegree.cs.exceptions.UnknownCRSException
public void exportTin(org.deegree.geometry.primitive.Tin tin)
exportTin
in interface GMLGeometryWriter
public void exportTriangulatedSurface(org.deegree.geometry.primitive.TriangulatedSurface triangSurface)
exportTriangulatedSurface
in interface GMLGeometryWriter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |