|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| 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,
CRS 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,
CRS 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 5 decimal places)exportedIds - may be null| Method Detail |
|---|
public void export(Geometry geometry)
throws XMLStreamException,
TransformationException,
UnknownCRSException
GMLGeometryWriter
export in interface GMLGeometryWritergeometry -
XMLStreamException
UnknownCRSException
TransformationException
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 exportMultiPolygon(MultiPolygon multiPolygon)
throws XMLStreamException,
TransformationException,
UnknownCRSException
multiPolygon -
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 GMLGeometryWriterpublic void exportCurve(Curve curve)
exportCurve in interface GMLGeometryWriterpublic void exportReference(GeometryReference<Geometry> geometryRef)
exportReference in interface GMLGeometryWriterpublic void exportRing(Ring ring)
exportRing in interface GMLGeometryWriterpublic void exportSolid(Solid solid)
exportSolid in interface GMLGeometryWriterpublic void exportSurface(Surface surface)
exportSurface in interface GMLGeometryWriterpublic void exportTin(Tin tin)
exportTin in interface GMLGeometryWriterpublic void exportTriangulatedSurface(TriangulatedSurface triangSurface)
exportTriangulatedSurface in interface GMLGeometryWriter
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||