Den 09.07.2011 14:13, skrev Greg Brown:
OK, thanks for clarifying. I hadn't really considered it before, but I think I 
agree that serialization should be reciprocal. And yes, it does seem like 
mutating the input stream would violate that reciprocity (though, at the 
moment, BXMLSerializer does not support writeObject(), so it is sort of an 
academic issue).

Wonder if that would be a cool way to create a GUI-builder for Pivot - build the GUI and save it with BXMLSerializer#writeObject :) Pivot has a giant advantage to Swing in this respect, as almost all Swing GUI builders create code that is hard/painful to maintain, or use some proprietary file format. The BXML could however probably be created almost identical to what one would write manually.

Reply via email to