commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert burrell donkin <>
Subject [betwixt] writing design refactoring
Date Thu, 25 Mar 2004 22:28:34 GMT
i'm think seriously about altering the writing design (again). the last 
refactoring moved towards a SAX inspired interface. this seems to have 
worked out pretty well. the issue which has arisen is that subclasses 
may need access to more information (so they can - for example - work 
out whether to output body text as a CDATA section or as escaped 
characters). i'm therefore thinking about adding a WriteContext object 
which would be passed through the SAX inspired interfaces. any extra 
information (or example, the ElementDescriptor) would be easily added 
as properties without breaking backwards compatibility. hopefully this 
should be the last major refactoring needed in this area.

opinions, please :)

- robert

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message