[jdom-interest] Doc Listeners etc

Kenworthy, Edward edward.kenworthy at exchange.co.uk
Mon Apr 2 23:22:44 PDT 2001


Hi Brett/Jason

There's doesn't appear to be any support for attaching views or listeners to
Documents and Elements = nor does the Document appear to get notified of any
changes to its component Elements. Is this something that will ever appear ?

I can (and have) added some of this functionality to Document by wrapping
it, but the major problem I have is that I can't sub-class Document to add
in the "listenable" behaviour because Documents get created by a static
factory (one of the limitations of such an approach) - so wrapping makes
more sense. This is a bit of a pain (especially as I'll need to repeat it
with Element). Any chance of it being included ?

Edward



More information about the jdom-interest mailing list