Class DBAppearance
- java.lang.Object
-
- org.citydb.citygml.importer.database.content.DBAppearance
-
- All Implemented Interfaces:
DBImporter
public class DBAppearance extends java.lang.Object implements DBImporter
-
-
Constructor Summary
Constructors Constructor Description DBAppearance(java.sql.Connection batchConn, Config config, CityGMLImportManager importer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
long
doImport(org.citygml4j.model.citygml.appearance.Appearance appearance, long parentId, boolean isLocalAppearance)
void
executeBatch()
protected void
importLocalAppearance()
protected void
importTexturedSurface(org.citygml4j.model.citygml.texturedsurface._AbstractAppearance _appearance, org.citygml4j.model.gml.geometry.primitives.AbstractSurface abstractSurface, long parentId, boolean isFront, java.lang.String target)
protected void
importTexturedSurfaceXlink(java.lang.String href, long surfaceGeometryId, long parentId)
-
-
-
Constructor Detail
-
DBAppearance
public DBAppearance(java.sql.Connection batchConn, Config config, CityGMLImportManager importer) throws CityGMLImportException, java.sql.SQLException
- Throws:
CityGMLImportException
java.sql.SQLException
-
-
Method Detail
-
doImport
public long doImport(org.citygml4j.model.citygml.appearance.Appearance appearance, long parentId, boolean isLocalAppearance) throws CityGMLImportException, java.sql.SQLException
- Throws:
CityGMLImportException
java.sql.SQLException
-
importLocalAppearance
protected void importLocalAppearance() throws CityGMLImportException, java.sql.SQLException
- Throws:
CityGMLImportException
java.sql.SQLException
-
importTexturedSurface
protected void importTexturedSurface(org.citygml4j.model.citygml.texturedsurface._AbstractAppearance _appearance, org.citygml4j.model.gml.geometry.primitives.AbstractSurface abstractSurface, long parentId, boolean isFront, java.lang.String target) throws CityGMLImportException, java.sql.SQLException
- Throws:
CityGMLImportException
java.sql.SQLException
-
importTexturedSurfaceXlink
protected void importTexturedSurfaceXlink(java.lang.String href, long surfaceGeometryId, long parentId) throws CityGMLImportException, java.sql.SQLException
- Throws:
CityGMLImportException
java.sql.SQLException
-
executeBatch
public void executeBatch() throws CityGMLImportException, java.sql.SQLException
- Specified by:
executeBatch
in interfaceDBImporter
- Throws:
CityGMLImportException
java.sql.SQLException
-
close
public void close() throws CityGMLImportException, java.sql.SQLException
- Specified by:
close
in interfaceDBImporter
- Throws:
CityGMLImportException
java.sql.SQLException
-
-