1 package org.simantics.export.core;
\r
3 import org.simantics.export.core.intf.ContentType;
\r
4 import org.simantics.export.core.intf.Discoverer;
\r
5 import org.simantics.export.core.intf.Exporter;
\r
6 import org.simantics.export.core.intf.Format;
\r
7 import org.simantics.export.core.intf.Importer;
\r
8 import org.simantics.export.core.intf.Publisher;
\r
11 * Export Extension Point services
\r
13 * @author toni.kalajainen@semantum.fi
\r
15 public interface ExportExtensionPoint {
\r
17 ContentType[] contentTypes();
\r
18 Discoverer[] discoverers();
\r
20 Importer[] importers();
\r
21 Exporter[] exporters();
\r
22 Publisher[] publishers();
\r
24 Discoverer[] getDiscoverers(String contentTypeId);
\r
25 Format getFormat(String formatId);
\r
26 Format getFormatByExt(String fileExt);
\r
27 ContentType getContentType(String contentTypeId);
\r
28 Importer getImporter(String formatId);
\r
29 Exporter[] getExporters(String formatId, String contentTypeId);
\r
30 Publisher getPublisher(String publisherId);
\r
31 Publisher getPublisherByLabel(String publisherLabel);
\r
32 int getPublisherIndex(String publisherId);
\r
35 * Get exporters for a content type. The result is priority ordered list.
\r
37 * @param contentTypeId
\r
38 * @return ordered list of exporters
\r
40 Exporter[] getExportersForContentType(String contentTypeId);
\r
43 * Get exporters for a content type. The result is priority ordered list.
\r
46 * @return ordered list of exporters
\r
48 Exporter[] getExportersForFormat(String formatId);
\r