/* */ {
/* 427 */ if (universe == null) {
/* 428 */ out.writeUTF("null");
/* 429 */ } else if ((universe instanceof SimpleUniverse)) {
/* 430 */ out.writeUTF(universe.getClass().getName());
/* 431 */ SimpleUniverseState state = new SimpleUniverseState(universe, this);
/* 432 */ state.writeObject(out);
/* */
/* 434 */ if (writeUniverseContent) {
/* 435 */ state.detachAllGraphs();
/* 436 */ int[] graphs = state.getAllGraphIDs();
/* 437 */ for (int i = 0; i < graphs.length; i++) {
/* 438 */ SymbolTableData symbol = this.symbolTable.getBranchGraphRoot(graphs[i]);
/* 439 */ System.out.println("Writing " + graphs[i] + " " + symbol.j3dNode);
/* 440 */ writeBranchGraph((BranchGroup)symbol.j3dNode, null);
/* */ }
/* */
/* 443 */ state.attachAllGraphs();
/* */ }
/* */ } else {
/* 446 */ throw new UnsupportedUniverseException("Current Implementation only support SimpleUniverse/ConfiguredUniverse.");
/* */ }
/* */ }