|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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,
ICRS outputCrs,
CoordinateFormatter formatter,
Set<String> exportedIds)
Creates a new GML2GeometryWriter instance. |
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, ICRS outputCrs, 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(Geometry geometry) throws XMLStreamException, TransformationException, UnknownCRSException
GMLGeometryWriter
export
in interface GMLGeometryWriter
XMLStreamException
TransformationException
UnknownCRSException
public void exportPoint(Point point) throws XMLStreamException, TransformationException, UnknownCRSException
exportPoint
in interface GMLGeometryWriter
point
-
XMLStreamException
UnknownCRSException
TransformationException
public void exportPolygon(Polygon polygon) throws XMLStreamException, TransformationException, UnknownCRSException
polygon
-
XMLStreamException
UnknownCRSException
TransformationException
public void exportLinearRing(Ring linearRing) throws XMLStreamException, TransformationException, UnknownCRSException
linearRing
-
XMLStreamException
UnknownCRSException
TransformationException
public void exportLineString(Curve curve) throws XMLStreamException, TransformationException, UnknownCRSException
curve
-
XMLStreamException
UnknownCRSException
TransformationException
public void exportEnvelope(Envelope envelope) throws XMLStreamException, TransformationException, UnknownCRSException
exportEnvelope
in interface GMLGeometryWriter
envelope
-
XMLStreamException
UnknownCRSException
TransformationException
public void exportMultiGeometry(MultiGeometry<? extends Geometry> multiGeometry) throws XMLStreamException, TransformationException, UnknownCRSException
exportMultiGeometry
in interface GMLGeometryWriter
multiGeometry
-
XMLStreamException
UnknownCRSException
TransformationException
public void exportMultiPoint(MultiPoint multiPoint) throws XMLStreamException, TransformationException, UnknownCRSException
multiPoint
-
XMLStreamException
UnknownCRSException
TransformationException
public void exportMultiLineString(MultiLineString multiLineString) throws XMLStreamException, TransformationException, UnknownCRSException
multiLineString
-
XMLStreamException
UnknownCRSException
TransformationException
public void exportMultiLineString(MultiCurve<Curve> multiCurve) throws XMLStreamException, TransformationException, UnknownCRSException
multiCurve
-
XMLStreamException
UnknownCRSException
TransformationException
public void exportMultiPolygon(MultiPolygon multiPolygon) throws XMLStreamException, TransformationException, UnknownCRSException
multiPolygon
-
XMLStreamException
UnknownCRSException
TransformationException
public void exportMultiPolygon(MultiSurface<Surface> multiSurface) throws XMLStreamException, TransformationException, UnknownCRSException
multiSurface
-
XMLStreamException
UnknownCRSException
TransformationException
public void exportCompositeCurve(CompositeCurve compositeCurve)
exportCompositeCurve
in interface GMLGeometryWriter
public void exportCompositeGeometry(CompositeGeometry<GeometricPrimitive> geometryComplex)
exportCompositeGeometry
in interface GMLGeometryWriter
public void exportCompositeSolid(CompositeSolid compositeSolid)
exportCompositeSolid
in interface GMLGeometryWriter
public void exportCompositeSurface(CompositeSurface compositeSurface)
exportCompositeSurface
in interface GMLGeometryWriter
public void exportCurve(Curve curve) throws XMLStreamException, TransformationException, UnknownCRSException
exportCurve
in interface GMLGeometryWriter
XMLStreamException
TransformationException
UnknownCRSException
public void exportReference(GeometryReference<Geometry> geometryRef)
exportReference
in interface GMLGeometryWriter
public void exportRing(Ring ring) throws XMLStreamException, TransformationException, UnknownCRSException
exportRing
in interface GMLGeometryWriter
XMLStreamException
TransformationException
UnknownCRSException
public void exportSolid(Solid solid)
exportSolid
in interface GMLGeometryWriter
public void exportSurface(Surface surface) throws XMLStreamException, TransformationException, UnknownCRSException
exportSurface
in interface GMLGeometryWriter
XMLStreamException
TransformationException
UnknownCRSException
public void exportTin(Tin tin)
exportTin
in interface GMLGeometryWriter
public void exportTriangulatedSurface(TriangulatedSurface triangSurface)
exportTriangulatedSurface
in interface GMLGeometryWriter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |