Class DBSurfaceGeometry
- java.lang.Object
-
- org.citydb.citygml.exporter.database.content.DBSurfaceGeometry
-
- All Implemented Interfaces:
DBExporter
,SurfaceGeometryExporter
public class DBSurfaceGeometry extends java.lang.Object implements DBExporter, SurfaceGeometryExporter
-
-
Constructor Summary
Constructors Constructor Description DBSurfaceGeometry(java.sql.Connection connection, CityGMLExportManager exporter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBatch(long id, GeometrySetter.AbstractGeometry setter)
void
addBatch(long id, GeometrySetter.CompositeSolid setter)
void
addBatch(long id, GeometrySetter.CompositeSurface setter)
void
addBatch(long id, GeometrySetter.MultiPolygon setter)
void
addBatch(long id, GeometrySetter.MultiSolid setter)
void
addBatch(long id, GeometrySetter.MultiSurface setter)
void
addBatch(long id, GeometrySetter.Polygon setter)
void
addBatch(long id, GeometrySetter.Solid setter)
void
addBatch(long id, GeometrySetter.Surface setter)
void
addBatch(long id, GeometrySetter.Tin setter)
void
addBatch(long id, GeometrySetterHandler handler)
protected void
addImplicitGeometryBatch(long id, org.citygml4j.model.citygml.core.ImplicitGeometry geometry)
void
close()
protected SurfaceGeometry
doExport(long rootId)
protected SurfaceGeometry
doExportImplicitGeometry(long rootId)
void
executeBatch()
-
-
-
Constructor Detail
-
DBSurfaceGeometry
public DBSurfaceGeometry(java.sql.Connection connection, CityGMLExportManager exporter) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
-
Method Detail
-
addBatch
public void addBatch(long id, GeometrySetterHandler handler) throws CityGMLExportException, java.sql.SQLException
- Specified by:
addBatch
in interfaceSurfaceGeometryExporter
- Throws:
CityGMLExportException
java.sql.SQLException
-
addBatch
public void addBatch(long id, GeometrySetter.AbstractGeometry setter) throws CityGMLExportException, java.sql.SQLException
- Specified by:
addBatch
in interfaceSurfaceGeometryExporter
- Throws:
CityGMLExportException
java.sql.SQLException
-
addBatch
public void addBatch(long id, GeometrySetter.Surface setter) throws CityGMLExportException, java.sql.SQLException
- Specified by:
addBatch
in interfaceSurfaceGeometryExporter
- Throws:
CityGMLExportException
java.sql.SQLException
-
addBatch
public void addBatch(long id, GeometrySetter.CompositeSurface setter) throws CityGMLExportException, java.sql.SQLException
- Specified by:
addBatch
in interfaceSurfaceGeometryExporter
- Throws:
CityGMLExportException
java.sql.SQLException
-
addBatch
public void addBatch(long id, GeometrySetter.MultiSurface setter) throws CityGMLExportException, java.sql.SQLException
- Specified by:
addBatch
in interfaceSurfaceGeometryExporter
- Throws:
CityGMLExportException
java.sql.SQLException
-
addBatch
public void addBatch(long id, GeometrySetter.Polygon setter) throws CityGMLExportException, java.sql.SQLException
- Specified by:
addBatch
in interfaceSurfaceGeometryExporter
- Throws:
CityGMLExportException
java.sql.SQLException
-
addBatch
public void addBatch(long id, GeometrySetter.MultiPolygon setter) throws CityGMLExportException, java.sql.SQLException
- Specified by:
addBatch
in interfaceSurfaceGeometryExporter
- Throws:
CityGMLExportException
java.sql.SQLException
-
addBatch
public void addBatch(long id, GeometrySetter.Solid setter) throws CityGMLExportException, java.sql.SQLException
- Specified by:
addBatch
in interfaceSurfaceGeometryExporter
- Throws:
CityGMLExportException
java.sql.SQLException
-
addBatch
public void addBatch(long id, GeometrySetter.CompositeSolid setter) throws CityGMLExportException, java.sql.SQLException
- Specified by:
addBatch
in interfaceSurfaceGeometryExporter
- Throws:
CityGMLExportException
java.sql.SQLException
-
addBatch
public void addBatch(long id, GeometrySetter.MultiSolid setter) throws CityGMLExportException, java.sql.SQLException
- Specified by:
addBatch
in interfaceSurfaceGeometryExporter
- Throws:
CityGMLExportException
java.sql.SQLException
-
addBatch
public void addBatch(long id, GeometrySetter.Tin setter) throws CityGMLExportException, java.sql.SQLException
- Specified by:
addBatch
in interfaceSurfaceGeometryExporter
- Throws:
CityGMLExportException
java.sql.SQLException
-
addImplicitGeometryBatch
protected void addImplicitGeometryBatch(long id, org.citygml4j.model.citygml.core.ImplicitGeometry geometry) throws CityGMLExportException, java.sql.SQLException
- Throws:
CityGMLExportException
java.sql.SQLException
-
executeBatch
public void executeBatch() throws CityGMLExportException, java.sql.SQLException
- Throws:
CityGMLExportException
java.sql.SQLException
-
doExport
protected SurfaceGeometry doExport(long rootId) throws CityGMLExportException, java.sql.SQLException
- Throws:
CityGMLExportException
java.sql.SQLException
-
doExportImplicitGeometry
protected SurfaceGeometry doExportImplicitGeometry(long rootId) throws CityGMLExportException, java.sql.SQLException
- Throws:
CityGMLExportException
java.sql.SQLException
-
close
public void close() throws java.sql.SQLException
- Specified by:
close
in interfaceDBExporter
- Throws:
java.sql.SQLException
-
-