You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by robert burrell donkin <ro...@blueyonder.co.uk> on 2004/03/25 23:28:34 UTC
[betwixt] writing design refactoring
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org