Re: Performance of inner classes in SAXBuffer etc.

2003-12-08 Thread Carsten Ziegeler
Christopher Oliver wrote: > > There's no performance advantage to inner classes. As regards > JXTemplateGenerator the inner classes in that class are not designed to > be reused - and should not be reused without major refactoring. > If you compare the classes in JXTemplateGenerator and in the SaxB

Re: Performance of inner classes in SAXBuffer etc.

2003-12-08 Thread Christopher Oliver
There's no performance advantage to inner classes. As regards JXTemplateGenerator the inner classes in that class are not designed to be reused - and should not be reused without major refactoring. Carsten Ziegeler wrote: The following is not a critics, I just want to learn more about Java :)

Performance of inner classes in SAXBuffer etc.

2003-12-08 Thread Carsten Ziegeler
The following is not a critics, I just want to learn more about Java :) I noticed that e.g. the SaxBuffer and the different template generators have a bunch of inner classes (for each sax event type an own class). Does this have any performance advantage (or any other advantage) over creating "rea