From: Rib R. <ri...@gm...> - 2006-03-10 17:34:41
|
On 3/10/06, Joe Emenaker <jo...@em...> wrote: > 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 d= o > >> 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). What do you mean "allow setting of the sysex data" > 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? How about importProperties( PropertyMap props )? |