Class EcoreAgentConverter
java.lang.Object
org.bigraphs.framework.converter.ecore.EcoreAgentConverter
- All Implemented Interfaces:
BigraphPrettyPrinter<PureBigraph>,PrettyPrinter<PureBigraph>
- Direct Known Subclasses:
EcoreConverter
- Author:
- Dominik Grzelak
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtoOutputStream(PureBigraph bigraph, OutputStream outputStream) toString(PureBigraph bigraph) Throws a runtime exception if the encoding fails.withExportFormat(BigraphFileModelManagement.Format exportFormat)
-
Constructor Details
-
EcoreAgentConverter
public EcoreAgentConverter() -
EcoreAgentConverter
-
-
Method Details
-
withExportFormat
-
getExportFormat
-
toString
Throws a runtime exception if the encoding fails.- Specified by:
toStringin interfaceBigraphPrettyPrinter<PureBigraph>- Parameters:
bigraph- the bigraph to encode- Returns:
- the bigraph in a textual form
-
toOutputStream
- Specified by:
toOutputStreamin interfaceBigraphPrettyPrinter<PureBigraph>- Throws:
IOException
-