-
Notifications
You must be signed in to change notification settings - Fork 616
Serializer Plugin
hlg edited this page Feb 7, 2021
·
6 revisions
A serializer serializes an object model to a stream of data. Among the default serializers are: IFC2x3, IfcXml, CityGML and others. Most serializers will output a textbased format but that is not required.
Serializer plugins must implement SerializerPlugin interface.
public interface SerializerPlugin extends Plugin {
Serializer createSerializer(PluginConfiguration plugin);
Set<Schema> getSupportedSchemas();
String getOutputFormat(Schema schema);
Set<String> getRequiredGeometryFields();
}
public interface Serializer {
void init(IfcModelInterface model, ProjectInfo projectInfo, boolean normalizeOids) throws SerializerException;
void writeToOutputStream(OutputStream outputStream, ProgressReporter progressReporter) throws SerializerException;
}
You can subclass EmfSerializer so you don't have to implement all methods.
You can subclass AbstractGeometrySerializer if your serializer is going to need triangulated geometry.
Get Started
- Quick Guide
- Requirements Version 1.2
- Requirements Version 1.3
- Requirements Version 1.4
- Requirements Version 1.4 > 2015-09-12
- Requirements Version 1.5
- Download
- JAR Starter
- Setup
Deployment
- Ubuntu installation 1.3
- Windows installation
- Security
- Memory Usage
- More memory
- Performance statistics
- Large databases
Developers
- Service Interfaces
- Common functions
- Data Model
- Low Level Calls
- Endpoints
Clients
BIMServer Developers
- Plugins in 1.5
- Plugin Development
- Eclipse
- Eclipse Modeling Framework
- Embedding
- Terminology
- Database/Versioning
- IFC STEP Encoding
- Communication
- Global changes in 1.5
- Writing a service
- Services/Notifications
- BIMserver 1.5 Developers
- Extended data
- Extended data schema
- Object IDM
New developments
- New remote service interface
- Plugins new
- Deprecated
- New query language
- Visual query language
- Reorganizing BIMserver JavaScript API
General