[jdom-interest] Updated StAXBuilder
Bradley S. Huffman
hip at cs.okstate.edu
Tue Nov 16 11:41:58 PST 2004
Tatu Saloranta writes:
> I updated StAX builder classes a bit, to improve
> performance: find attached the builder, and a matching
> optimized factory class.
> Latter should also be usable
> with SAX parsers to improve their performance a bit
> (not tested, but I don't see why it wouldn't work).
> There are some other things that could be done to JDom
> builders to improve things further, but they'd need
> more access (there are "safe" modifiers that builders
> that pass known valid content could use).
There is a UncheckedJDOMFactory already in org.jdom you could use.
Also you don't need to "simulate recursion" since you have access to the
parent hierarchy through getParent() or getParentElement().
Brad
More information about the jdom-interest
mailing list