| Modifier | Constructor and Description |
|---|---|
protected |
DMNMarshaller() |
|
DMNMarshaller(XMLEncoderDiagramMetadataMarshaller diagramMetadataMarshaller,
FactoryManager factoryManager) |
| Modifier and Type | Method and Description |
|---|---|
static void |
connectEdge(Edge edge,
Node source,
Node target) |
static void |
connectRootWithChild(Node dmnDiagramRoot,
Node child) |
static Node<?,?> |
findDMNDiagramRoot(Graph<?,Node<View,?>> graph) |
DiagramMetadataMarshaller<Metadata> |
getMetadataMarshaller() |
String |
marshall(Diagram<Graph,Metadata> diagram) |
String |
marshallFromStunnerToJSON(Diagram<Graph,Metadata> diagram)
Deprecated.
|
Graph |
unmarshall(Metadata metadata,
InputStream input) |
Graph |
unmarshallFromStunnerJSON(Metadata metadata,
InputStream input)
Deprecated.
|
protected DMNMarshaller()
@Inject public DMNMarshaller(XMLEncoderDiagramMetadataMarshaller diagramMetadataMarshaller, FactoryManager factoryManager)
@Deprecated public Graph unmarshallFromStunnerJSON(Metadata metadata, InputStream input) throws IOException
IOException@Deprecated public String marshallFromStunnerToJSON(Diagram<Graph,Metadata> diagram) throws IOException
IOExceptionpublic Graph unmarshall(Metadata metadata, InputStream input) throws IOException
unmarshall in interface DiagramMarshaller<Graph,Metadata,Diagram<Graph,Metadata>>IOExceptionpublic String marshall(Diagram<Graph,Metadata> diagram) throws IOException
marshall in interface DiagramMarshaller<Graph,Metadata,Diagram<Graph,Metadata>>IOExceptionpublic DiagramMetadataMarshaller<Metadata> getMetadataMarshaller()
getMetadataMarshaller in interface DiagramMarshaller<Graph,Metadata,Diagram<Graph,Metadata>>Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.