com.yworks.yfiles.bpmn.io
Class BpmnGraphMLIOHandler
java.lang.Object
y.io.IOHandler
y.io.GraphMLIOHandler
com.yworks.yfiles.bpmn.io.BpmnGraphMLIOHandler
- public class BpmnGraphMLIOHandler
- extends GraphMLIOHandler
Reads and writes a BPMN diagram in GraphML format.
Note:
Client code has to ensure that yBPMN specific node realizer and node port
configurations have been registered before reading GraphML files
that reference these configurations.
The currently existing configurations are automatically registered in the
static initializers of classes
BpmnRealizerFactory
and
EventPortSupport
. Therefore accessing
any constant or method declared in these classes will suffice to trigger
the necessary registration.
-
-
Constructor Summary |
protected |
BpmnGraphMLIOHandler()
Initializes a new BpmnGraphMLIOHandler instance. |
Methods inherited from class y.io.IOHandler |
canRead, canWrite, canWriteSubset, createObjectInputStream, createObjectOutputStream, hide, read, read, shouldSerialize, shouldSerialize, write, writeSubset, writeSubset |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BpmnGraphMLIOHandler
protected BpmnGraphMLIOHandler()
- Initializes a new
BpmnGraphMLIOHandler
instance.
newInstance
public static GraphMLIOHandler newInstance()
- Creates a new instance.
Registers serialization and deserialization handlers for
ChoreographyLabelModel
and
BpmnIcon
.
createGraphMLHandler
protected Graph2DGraphMLHandler createGraphMLHandler()
- Creates a GraphML handler that supports yBPMN specific features such as
event node ports.
- Returns:
- a GraphML handler that supports yBPMN specific features such as
event node ports.
- See Also:
EventPortSupport