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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
toOutputStream
(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:
toString
in interfaceBigraphPrettyPrinter<PureBigraph>
- Parameters:
bigraph
- the bigraph to encode- Returns:
- the bigraph in a textual form
-
toOutputStream
- Specified by:
toOutputStream
in interfaceBigraphPrettyPrinter<PureBigraph>
- Throws:
IOException
-