Package org.bigraphs.grgen.converter
Class BigraphTransformer
java.lang.Object
org.bigraphs.grgen.converter.TransformerSupport
org.bigraphs.grgen.converter.BigraphTransformer
- All Implemented Interfaces:
BaseTransformer<org.bigraphs.framework.core.Bigraph<org.bigraphs.framework.core.Signature<?>>>
- Direct Known Subclasses:
PureBigraphTransformer
public abstract class BigraphTransformer
extends TransformerSupport
implements BaseTransformer<org.bigraphs.framework.core.Bigraph<org.bigraphs.framework.core.Signature<?>>>
-
Field Summary
Fields inherited from class org.bigraphs.grgen.converter.TransformerSupport
DEFAULT_WHITESPACE_CHAR, LINE_SEP
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bigraphs.grgen.converter.TransformerSupport
assertCorrectClassType, assertPrimeAndGround, closeBlock, closeClassDefinition, closeClassDefinitionWithAttributes, createAbstractEdgeClass, createAbstractNodeClass, createEdge, createEdgeClass, createGraphlet, createNodeClass, createNodeInstance, createNodeInstance, createVarTypeDecl, createVarTypeDeclWithComma, createVarTypeDeclWithComma, extendClass, nodeTypeOf, openRuleModifierBlock, openRuleReplaceBlock
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bigraphs.grgen.converter.BaseTransformer
createNameSupplier, toOutputStream
-
Constructor Details
-
BigraphTransformer
public BigraphTransformer()
-
-
Method Details
-
toString
public abstract String toString(org.bigraphs.framework.core.Bigraph<org.bigraphs.framework.core.Signature<?>> signature) Description copied from interface:BaseTransformer
Redirects the result of an encoding to a string- Specified by:
toString
in interfaceBaseTransformer<org.bigraphs.framework.core.Bigraph<org.bigraphs.framework.core.Signature<?>>>
- Parameters:
signature
- the bigraph or signature being encoded
-