public interface Serializer extends StreamingReader
| Modifier and Type | Method and Description |
|---|---|
default boolean |
allowCaching() |
void |
init(IfcModelInterface model,
ProjectInfo projectInfo,
boolean normalizeOids)
Initialize this serializer
|
void |
writeToOutputStream(OutputStream outputStream,
ProgressReporter progressReporter) |
writevoid init(IfcModelInterface model, ProjectInfo projectInfo, boolean normalizeOids) throws SerializerException
model - The model that will be serializedprojectInfo - ProjectInformation that is stored in the BIMserver projectpluginManager - PluginManager that can be used to call other pluginsnormalizeOids - Whether to normalize the oids (usually means the oid will be regenerated from 1)SerializerExceptionvoid writeToOutputStream(OutputStream outputStream, ProgressReporter progressReporter) throws SerializerException
outputStream - The stream to write toprogressReporter - An interface you can use to report progressSerializerExceptiondefault boolean allowCaching()
Copyright © 2018 OpenSource BIM. All rights reserved.