com.yworks.yfiles.server.graphml.flexio.binary
Class ExternalizableGraph
java.lang.Object
com.yworks.yfiles.server.graphml.flexio.binary.ExternalizableGraph
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
- public class ExternalizableGraph
- extends java.lang.Object
- implements java.io.Externalizable
The ExternalizableGraph can be used to read and write a LayoutGraph via the
Externalizable interface.
For this a GraphRoundtripSupport is used to which
ObjectSerializer and
ObjectDeserializer have been added.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalizableGraph
public ExternalizableGraph()
getGraph
public LayoutGraph getGraph()
setGraph
public void setGraph(LayoutGraph graph)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal in interface java.io.Externalizable
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
createGraphRoundtripSupport
protected GraphRoundtripSupport createGraphRoundtripSupport(java.util.List objectList)
Copyright © 2000-2013 yWorks GmbH. All
rights reserved