[jgrapht-users] XML encoding of DirectedWeightedMultigraph
Brought to you by:
barak_naveh,
perfecthash
From: Petr H. <ho...@ic...> - 2007-10-22 14:11:14
|
Hi, we've recenlty encountered a problem with encoding DirectedWeightedMultigraph using XMLEncoder. Basically, for XMLEncoder to work, the object needs to be Java Bean and implement Serializable. Does anybody has a clue why it shouldn't work on DirectedWeightedMultigraph? When attempting to serialize, I get the following execeptions: java.lang.InstantiationException: org.jgrapht.graph.DirectedWeightedMultigraph Continuing ... java.lang.Exception: XMLEncoder: discarding statement XMLEncoder.writeObject(DirectedWeightedMultigraph); Continuing ... TIA, Petr |