Class CityGMLWriter
- java.lang.Object
-
- org.citydb.citygml.exporter.writer.citygml.CityGMLWriter
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,FeatureWriter
,EventHandler
public class CityGMLWriter extends java.lang.Object implements FeatureWriter, EventHandler
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Metadata
getMetadata()
void
handleEvent(Event event)
void
updateSequenceId(long sequenceId)
void
useIndentation(boolean useIndentation)
void
write(org.citygml4j.model.gml.feature.AbstractFeature feature, long sequenceId)
void
writeHeader()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.citydb.citygml.exporter.writer.FeatureWriter
supportsFlatHierarchies
-
-
-
-
Method Detail
-
useIndentation
public void useIndentation(boolean useIndentation)
- Specified by:
useIndentation
in interfaceFeatureWriter
-
getMetadata
public Metadata getMetadata()
- Specified by:
getMetadata
in interfaceFeatureWriter
-
writeHeader
public void writeHeader() throws FeatureWriteException
- Specified by:
writeHeader
in interfaceFeatureWriter
- Throws:
FeatureWriteException
-
write
public void write(org.citygml4j.model.gml.feature.AbstractFeature feature, long sequenceId) throws FeatureWriteException
- Specified by:
write
in interfaceFeatureWriter
- Throws:
FeatureWriteException
-
updateSequenceId
public void updateSequenceId(long sequenceId) throws FeatureWriteException
- Specified by:
updateSequenceId
in interfaceFeatureWriter
- Throws:
FeatureWriteException
-
close
public void close() throws FeatureWriteException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfaceFeatureWriter
- Throws:
FeatureWriteException
-
handleEvent
public void handleEvent(Event event) throws java.lang.Exception
- Specified by:
handleEvent
in interfaceEventHandler
- Throws:
java.lang.Exception
-
-