From: Joe E. <jo...@em...> - 2006-03-10 10:35:09
|
Rib Rdb wrote: > On 3/9/06, Joe Emenaker <jo...@em...> wrote: > >> I have time to write the parser and the XML writer.... and I can write >> the PropertyHolder or whatever we want to call it. All you'd need to do >> is support a read(PropertyHolder) and write(PropertyHolder) for any >> given patch in your XMLDriver code. >> > I shouild be able to do that. > So, to clarify then.... any implementation of IPatch would need to allow setting of the sysex data and then it should implement read(PropertyHolder) and write(PropertyHolder). Well, read and write are a little vague. How about something like importProperties and exportProperties? I would have suggested getProperties/setProperties, but getters usually return something and, in this case, we're going to want to give the class a PropertyHolder and then have it populate it. Also, unless you like PropertyHolder, I'd prefer something a little different. Maybe PropertySet or ValueSet. Or maybe you can suggest something that you think sounds like what it does? - Joe |