SAXParserFactory
This class serves as an alternative to the SAXParserFactory that is provided by the JRE
and provides the following benefits: 1) The static SAXParserFactory.newSAXParser() method does not suffer from the
performance problem of obtaining parser implementations from the classpath, and 2) Since SAXParserFactory.newSAXParser() can
be called without performance concerns, multi-threaded environments (like web applications and portlets) can feel
free to call the method as much as required in each request, in order to maintain thread-safety. |