|
||||||||||
| 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,
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 nulloutputCrs - 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 GMLGeometryWriterXMLStreamException
TransformationException
UnknownCRSException
public void exportPoint(Point point)
throws XMLStreamException,
TransformationException,
UnknownCRSException
exportPoint in interface GMLGeometryWriterpoint -
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 GMLGeometryWriterenvelope -
XMLStreamException
UnknownCRSException
TransformationException
public void exportMultiGeometry(MultiGeometry<? extends Geometry> multiGeometry)
throws XMLStreamException,
TransformationException,
UnknownCRSException
exportMultiGeometry in interface GMLGeometryWritermultiGeometry -
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
TransformationExceptionpublic void exportCompositeCurve(CompositeCurve compositeCurve)
exportCompositeCurve in interface GMLGeometryWriterpublic void exportCompositeGeometry(CompositeGeometry<GeometricPrimitive> geometryComplex)
exportCompositeGeometry in interface GMLGeometryWriterpublic void exportCompositeSolid(CompositeSolid compositeSolid)
exportCompositeSolid in interface GMLGeometryWriterpublic void exportCompositeSurface(CompositeSurface compositeSurface)
exportCompositeSurface in interface GMLGeometryWriter
public void exportCurve(Curve curve)
throws XMLStreamException,
TransformationException,
UnknownCRSException
exportCurve in interface GMLGeometryWriterXMLStreamException
TransformationException
UnknownCRSExceptionpublic void exportReference(GeometryReference<Geometry> geometryRef)
exportReference in interface GMLGeometryWriter
public void exportRing(Ring ring)
throws XMLStreamException,
TransformationException,
UnknownCRSException
exportRing in interface GMLGeometryWriterXMLStreamException
TransformationException
UnknownCRSExceptionpublic void exportSolid(Solid solid)
exportSolid in interface GMLGeometryWriter
public void exportSurface(Surface surface)
throws XMLStreamException,
TransformationException,
UnknownCRSException
exportSurface in interface GMLGeometryWriterXMLStreamException
TransformationException
UnknownCRSExceptionpublic void exportTin(Tin tin)
exportTin in interface GMLGeometryWriterpublic void exportTriangulatedSurface(TriangulatedSurface triangSurface)
exportTriangulatedSurface in interface GMLGeometryWriter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||