private void writeObject ( ObjectOutputStream out ) throws IOException { // Print out some information about the serialized object. /*log.fine("Serialized hierarchy attribute = " + this);*/ /*log.fine("Serialized hierarchy attribute class = " + attributeClass);*/ /*log.fine("Serialized attribute classes in static class map are: ");*/ for ( HierarchyClassImpl attributeClass : attributeClasses . values ( ) ) { /*log.fine(attributeClass.toString());*/ } // Perform default serialization. // out.defaultWriteObject(); // Serialized the attribute by value, that is, its full path and the name of its attribute class. List < String > pathValue = getPathValue ( ) ; String [ ] pathArrayValue = pathValue . toArray ( new String [ pathValue . size ( ) ] ) ; out . writeObject ( pathArrayValue ) ; out . writeObject ( attributeClass . getName ( ) ) ; }
Serialized a hierarchy attribute .