// Special deserializer: read XML as deserialization private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { init(comparators, runtimeVersion); String strDocument = in.readUTF(); // System.out.println("strDocument='"+strDocument+"'"); ByteArrayInputStream bais = new ByteArrayInputStream(strDocument.getBytes()); Document doc = GraphManager.createXmlDocument(bais, false); initOptions(Common.NO_DEFAULT_VALUES); initFromNode(doc, Common.NO_DEFAULT_VALUES); } catch (Schema2BeansException e) { throw new RuntimeException(e); } }