[jdom-interest] Re: Factories for Element creation

Thomas Koch Thomas.Koch at atlantec-es.com
Thu Nov 2 01:23:43 PST 2000


We are using a modified SAXBuilder to accomplish approximately what
has been discussed earlier and that approach seems to work just fine.

The private SAXBuilder is not optimal from the maintenance perspective,
but it is not too complex in its current form. An element factory hook
could improve this, but you might need other modifications to SAXBuilder
in addition to that, such as processing attributes etc.

However, we have encountered one problem when subclassing Element: 
the final toString() method (which we would like to override). 
Is there a chance to change that?


Thomas




More information about the jdom-interest mailing list